# CVE-2021-40506: An issue was discovered in the ALU unit of the OR1200 (aka OpenRISC 1200) processor 2011-09-10 through 2015-11-11.

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.73%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-04-18T00:00:00.000Z
- Modified: 2026-06-17T04:07:03.587Z
- Weaknesses: CWE-287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## 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 for the msb and mac instructions, which results in an incorrect value in the overflow flag. Any software that relies on this flag may experience corruption in execution.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- openrisc or1200_firmware: from 2011-09-10 up to 2015-11-11

## Every score

- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/openrisc/or1200/commit/2c0765d7ba12813df273cd693a99c4e744f0fbd5> (patch)
- <https://seth.engr.tamu.edu/software-releases/thehuzz/> (third-party-advisory)

## Sources

- CVE List: [CVE-2021-40506](https://www.cve.org/CVERecord?id=CVE-2021-40506), CVE Terms of Use, modified 2025-02-06
- NVD: [CVE-2021-40506](https://nvd.nist.gov/vuln/detail/CVE-2021-40506), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-40506 · Whole record: https://cve.day/CVE-2021-40506.json · Rebuilt by cve.day 2026-11-25T22:58:08.405Z
