CVE-2024-31852
Last modified
CVE-2024-31852 is a medium-severity vulnerability rated 5.9/10 on the CVSS scale. 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. EPSS estimates a 0.99% chance of exploitation in the next 30 days.
Description
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."
Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2024-31852?
How severe is CVE-2024-31852?
How do I fix CVE-2024-31852?
Are you affected by CVE-2024-31852?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
