Import Source
https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-39776.json
JSON Data
https://api.test.osv.dev/v1/vulns/AZL-39776
Upstream
Published
2024-04-05T15:15:08Z
Modified
2026-04-01T05:13:29.538697Z
Summary
CVE-2024-31852 affecting package clang for versions less than 18.1.2-2
Details

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

Affected packages

Azure Linux:3 / clang

Package

Name
clang
Purl
pkg:rpm/azure-linux/clang

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
18.1.2-2

Database specific

source
"https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-39776.json"