CVE-2021-40507
CWE-287Published: April 18, 2023· Updated: Jun 17, 2026
Official Description
An issue was discovered in the ALU unit of the OR1200 (aka OpenRISC 1200) processor 2011-09-10 through 2015-11-11. The overflow flag is not being updated correctly for the subtract instruction, which results in an incorrect value in the overflow flag. Any software that relies on this flag may experience corruption in execution.
Risk Analysis
The OR1200 processor firmware contains a flaw in the ALU unit where the overflow flag is not updated correctly during subtraction. This can lead to incorrect execution and potential system corruption, warranting a critical severity rating. It is not currently in the CISA KEV.
There is no known public exploit for this vulnerability, and it is not in KEV. It is remotely exploitable with low attack complexity.
Review firmware documentation for updates from the OpenRISC project. Implement software-level checks to validate arithmetic operations where possible.
Technical Analysis
CVE-2021-40507 can be exploited remotely over the network without requiring physical or adjacent access, significantly expanding the attack surface for threat actors.
The vulnerability requires no privileges and no user interaction, making it a prime target for automated exploitation campaigns and worm-like propagation.
A successful exploit results in complete confidentiality breach (data exposure), full integrity compromise (data manipulation), availability disruption (denial of service), with a CVSS base score of 9.8.
From a weakness classification perspective (CWE-287): Authentication bypass vulnerabilities allow attackers to access protected resources without valid credentials.
CVSS v3.1 Vector Breakdown
Affected Vendors & Products
Exploit & PoC Resources
Official Patches & Advisories
All References (4)
Quick Facts
Related CVEs (CWE-287)
Recommended Actions
- →Apply vendor patches immediately
- →Monitor CVE-2021-40507 in threat intel feeds
- →Review IDS/IPS signatures for exploitation attempts