CVE-2020-24658: arm arm_compiler
Vulnerability summary
CVE-2020-24658 is a high (CVSS 7.8) vulnerability in arm arm_compiler. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 22.8% of scored vulnerabilities.
Timeline
- 24-12-2020PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
Description
Arm Compiler 5 through 5.06u6 has an error in a stack protection feature designed to help spot stack-based buffer overflows in local arrays. When this feature is enabled, a protected function writes a guard value to the stack prior to (above) any vulnerable arrays in the stack. The guard value is checked for corruption on function return; corruption leads to an error-handler call. In certain circumstances, the reference value that is compared against the guard value is itself also written to the stack (after any vulnerable arrays). The reference value is written to the stack when the function runs out of registers to use for other temporary data. If both the reference value and the guard value are written to the stack, then the stack protection will fail to spot corruption when both values are overwritten with the same value. For both the reference value and the guard value to be corrupted, there would need to be both a buffer overflow and a buffer underflow in the vulnerable arrays (or some other vulnerability that causes two separated stack entries to be corrupted).
CVSS metrics
2 scores · 1 source · 2 versionsEPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
0.00 pp
From 0.31% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-770Allocation of Resources Without Limits or ThrottlingThe product allocates a reusable resource or group of resources on behalf of an actor without imposing any intended restrictions on the size or number of resources that can be allocated.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Arm1 product
- arm_compiler≥ 5.01, < 5.06 | 5.06 | 5.06:update1 | 5.06:update2 | 5.06:update3 | 5.06:update4 | 5.06:update5 | 5.06:update6 | 5.06:update7
1 vendor · 1 product
References
1 links- developer.arm.com/support/arm-security-updates/arm-compiler-5-stack-protectionX Refsource CONFIRMVendor Advisory