Security mailing lists by PureSourceCode

CVE-2020-24658

HIGH 7.8CVSS 3.1

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

Published
24 Dec 2020
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-770
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.8 CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.4 AV:L/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:*:*:*:*:*:*:*:*
>= 5.01, < 5.06 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:-:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update1:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update2:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update3:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update4:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update5:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update6:*:*:*:*:*:*
= 5.06
NVD arm arm_compiler
cpe:2.3:a:arm:arm_compiler:5.06:update7:*:*:*:*:*:*
= 5.06

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 24 Dec 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.