CVE-2026-29642
CVE-2026-29642 is a high-severity vulnerability with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-1244.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- EPSS exploit prediction: 0% (2nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23954
- Weakness: CWE-1244
- Published:
- Last modified:
Description
A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully crafted reads/writes to menvcfg (e.g., csrrs in M-mode). On affected XiangShan versions (commit aecf601e803bfd2371667a3fb60bfcd83c333027, 2024-11-19), these menvcfg accesses can unexpectedly set WPRI (reserved) bits in the status view (xstatus) to 1. RISC-V defines WPRI fields as "writes preserve values, reads ignore values," i.e., they must not be modified by software manipulating other fields, and menvcfg itself contains multiple WPRI fields.
Frequently asked questions
- What is CVE-2026-29642?
- A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully crafted reads/writes to menvcfg (e.g., csrrs in M-mode). On affected XiangShan versions (commit aecf601e803bfd2371667a3fb60bfcd83c333027, 2024-11-19), these menvcfg accesses can unexpectedly set WPRI (reserved) bits in the status view (xstatus) to 1. RISC-V defines WPRI fields as "writes preserve values, reads ignore values," i.e., they must not be modified by software manipulating other fields, and menvcfg itself contains multiple WPRI fields.
- How severe is CVE-2026-29642?
- CVE-2026-29642 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-29642 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (2nd percentile), an estimate of the probability of exploitation in the next 30 days.
- How do I fix CVE-2026-29642?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-29642 have an EU (EUVD) identifier?
- Yes. CVE-2026-29642 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23954.
- When was CVE-2026-29642 published?
- CVE-2026-29642 was published on 2026-04-20 and last updated on 2026-06-17.
References
- https://docs.riscv.org/reference/isa/priv/machine.html
- https://docs.riscv.org/reference/isa/priv/priv-csrs.html
- https://github.com/OpenXiangShan/XiangShan/commit/5e3dd63
- https://github.com/OpenXiangShan/XiangShan/issues/3934
Other CWE-1244 vulnerabilities
- CVE-2025-42878 — High (CVSS 8.2): SAP Web Dispatcher and ICM may expose internal testing interfaces that are not intended for production. If enabled,…
- CVE-2024-0114 — High (CVSS 8.1): NVIDIA Hopper HGX for 8-GPU contains a vulnerability in the HGX Management Controller (HMC) that may allow a malicious…
- CVE-2025-67862 — Medium (CVSS 6.7): An Internal Asset Exposed to Unsafe Debug Access Level or State vulnerability [CWE-1244] vulnerability in Fortinet…
- CVE-2025-23337 — Medium (CVSS 6.7): NVIDIA HGX & DGX GB200, GB300, B300 contain a vulnerability in the HGX Management Controller (HMC) that may allow a…
- CVE-2022-32259 — Medium (CVSS 6.5): A vulnerability has been identified in SINEMA Remote Connect Server (All versions < V3.1). The system images for…
- CVE-2025-20238 — Medium (CVSS 6.0): A vulnerability in Cisco Secure Firewall Adaptive Security Appliance (ASA) Software and Cisco Secure Firewall Threat…