Skip to content

LLVM before 18.1.3 generates code in which the LR...

Unreviewed Published Apr 5, 2024 to the GitHub Advisory Database • Updated Apr 5, 2024

Package

No package listedSuggest a package

Affected versions

Unknown

Patched versions

Unknown

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."

References

Published by the National Vulnerability Database Apr 5, 2024
Published to the GitHub Advisory Database Apr 5, 2024
Last updated Apr 5, 2024

Severity

Unknown

Weaknesses

No CWEs

CVE ID

CVE-2024-31852

GHSA ID

GHSA-gj98-2c7c-vmc4

Source code

No known source code

Dependabot alerts are not supported on this advisory because it does not have a package from a supported ecosystem with an affected and fixed version.

Learn more about GitHub language support

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.