CVE-2026-29642: n/a
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.
AI Analysis
Technical Summary
This vulnerability affects XiangShan versions as of commit aecf601e803bfd2371667a3fb60bfcd83c333027 (dated 2024-11-19). A local attacker who can perform privileged CSR operations or induce firmware to do so can manipulate menvcfg registers (e.g., using csrrs in M-mode) in a way that sets reserved WPRI bits in the xstatus register. According to the RISC-V specification, WPRI fields must not be modified by software manipulating other fields, but the menvcfg accesses in the affected versions violate this, potentially causing unexpected behavior in the status register.
Potential Impact
The impact is limited to local attackers who already have the ability to execute privileged CSR operations or can induce firmware to perform such operations. The unexpected setting of WPRI bits in the xstatus register could lead to undefined or unexpected processor state behavior. No information is provided about remote exploitation or broader system compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict local access to systems running affected XiangShan versions and monitor for firmware or privileged CSR operation anomalies.
CVE-2026-29642: n/a
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects XiangShan versions as of commit aecf601e803bfd2371667a3fb60bfcd83c333027 (dated 2024-11-19). A local attacker who can perform privileged CSR operations or induce firmware to do so can manipulate menvcfg registers (e.g., using csrrs in M-mode) in a way that sets reserved WPRI bits in the xstatus register. According to the RISC-V specification, WPRI fields must not be modified by software manipulating other fields, but the menvcfg accesses in the affected versions violate this, potentially causing unexpected behavior in the status register.
Potential Impact
The impact is limited to local attackers who already have the ability to execute privileged CSR operations or can induce firmware to perform such operations. The unexpected setting of WPRI bits in the xstatus register could lead to undefined or unexpected processor state behavior. No information is provided about remote exploitation or broader system compromise. There are no known exploits in the wild at this time.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is currently documented. Until a patch is available, restrict local access to systems running affected XiangShan versions and monitor for firmware or privileged CSR operation anomalies.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- mitre
- Date Reserved
- 2026-03-04T00:00:00.000Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69e6941f19fe3cd2cd32c473
Added to database: 4/20/2026, 9:01:19 PM
Last enriched: 4/20/2026, 9:17:15 PM
Last updated: 4/21/2026, 7:05:02 AM
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.