Lucene search

K
osvGoogleOSV:CVE-2024-31852
HistoryApr 05, 2024 - 3:15 p.m.

CVE-2024-31852

2024-04-0515:15:08
Google
osv.dev
6
llvm
arm backend
lr register
potential exploit
clang
miscompile
jop gadget

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%

LLVM before 18.1.3 generates code in which the LR register can be overwritten without data being saved to the stack, and thus there can sometimes be an exploitable error in the flow of control. This affects the ARM backend and can be demonstrated with Clang. NOTE: the vendor perspective is “we don’t have strong objections for a CVE to be created … It does seem that the likelihood of this miscompile enabling an exploit remains very low, because the miscompile resulting in this JOP gadget is such that the function is most likely to crash on most valid inputs to the function. So, if this function is covered by any testing, the miscompile is most likely to be discovered before the binary is shipped to production.”

7.2 High

AI Score

Confidence

Low

0.0004 Low

EPSS

Percentile

15.6%