CVE-2026-29642 Other in n/a
A local attacker can manipulate reserved status bits via privileged CSR operations, potentially bypassing security controls in XiangShan processors.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-29642?
CVE-2026-29642 is a high-severity vulnerability in n/a, published on 20 Apr 2026. It can only be exploited from the same machine or local network, with no action from the victim.
Official 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.
Weakness: CWE-1244
Which versions are affected by CVE-2026-29642?
How do I fix CVE-2026-29642?
No fix has been published for CVE-2026-29642 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-29642 being exploited?
There is no known exploitation of CVE-2026-29642 in the wild and no public exploit code.
Sources
Also known as GHSA-9m35-v5wh-m3xw.