CVE-2026-29642: n/a
CVE-2026-29642 is a high-severity vulnerability affecting certain versions of the XiangShan RISC-V implementation. A local attacker with privileges to execute CSR operations or induce firmware to do so can perform crafted reads/writes to the menvcfg register. This can cause reserved WPRI bits in the xstatus register to be incorrectly set to 1, violating the RISC-V specification that these bits must not be modified by software. The vulnerability has a CVSS score of 7. 8, indicating high impact on confidentiality, integrity, and availability. No patch or official remediation guidance is currently available, and no known exploits have been reported in the wild. The vulnerability specifically involves improper handling of WPRI fields during menvcfg accesses in affected XiangShan versions as of November 19, 2024.
AI Analysis
Technical Summary
This vulnerability arises from improper handling of writes to the menvcfg register in affected XiangShan RISC-V implementations. When privileged CSR operations (e.g., csrrs in M-mode) are executed, the menvcfg accesses can unexpectedly set WPRI (Write Preserves) bits in the xstatus register to 1. According to the RISC-V specification, WPRI bits are reserved and must not be altered by software manipulating other fields; they should preserve their values on writes and be ignored on reads. The incorrect modification of these reserved bits can lead to undefined or unintended processor state behavior. The issue is present in XiangShan versions as of commit aecf601e803bfd2371667a3fb60bfcd83c333027 dated 2024-11-19. The vulnerability requires local privileged access and has a CVSS 3.1 score of 7.8 with high impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows a local attacker with limited privileges to perform crafted CSR operations that can corrupt reserved bits in the processor's status register. This corruption can lead to undefined processor behavior, potentially impacting system confidentiality, integrity, and availability. Because the WPRI bits are reserved and should not be modified, their unexpected alteration may cause unpredictable side effects in firmware or software relying on correct processor state. The CVSS score of 7.8 reflects a high severity due to the potential for significant system compromise if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been published at this time. Until a patch is available, limit local privileged access to trusted users only and monitor for unusual behavior related to CSR operations. Avoid executing untrusted firmware or software that could induce privileged CSR operations.
CVE-2026-29642: n/a
Description
CVE-2026-29642 is a high-severity vulnerability affecting certain versions of the XiangShan RISC-V implementation. A local attacker with privileges to execute CSR operations or induce firmware to do so can perform crafted reads/writes to the menvcfg register. This can cause reserved WPRI bits in the xstatus register to be incorrectly set to 1, violating the RISC-V specification that these bits must not be modified by software. The vulnerability has a CVSS score of 7. 8, indicating high impact on confidentiality, integrity, and availability. No patch or official remediation guidance is currently available, and no known exploits have been reported in the wild. The vulnerability specifically involves improper handling of WPRI fields during menvcfg accesses in affected XiangShan versions as of November 19, 2024.
CVSS v3.1
Score 7.8high
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability arises from improper handling of writes to the menvcfg register in affected XiangShan RISC-V implementations. When privileged CSR operations (e.g., csrrs in M-mode) are executed, the menvcfg accesses can unexpectedly set WPRI (Write Preserves) bits in the xstatus register to 1. According to the RISC-V specification, WPRI bits are reserved and must not be altered by software manipulating other fields; they should preserve their values on writes and be ignored on reads. The incorrect modification of these reserved bits can lead to undefined or unintended processor state behavior. The issue is present in XiangShan versions as of commit aecf601e803bfd2371667a3fb60bfcd83c333027 dated 2024-11-19. The vulnerability requires local privileged access and has a CVSS 3.1 score of 7.8 with high impact on confidentiality, integrity, and availability.
Potential Impact
The vulnerability allows a local attacker with limited privileges to perform crafted CSR operations that can corrupt reserved bits in the processor's status register. This corruption can lead to undefined processor behavior, potentially impacting system confidentiality, integrity, and availability. Because the WPRI bits are reserved and should not be modified, their unexpected alteration may cause unpredictable side effects in firmware or software relying on correct processor state. The CVSS score of 7.8 reflects a high severity due to the potential for significant system compromise if exploited.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround has been published at this time. Until a patch is available, limit local privileged access to trusted users only and monitor for unusual behavior related to CSR operations. Avoid executing untrusted firmware or software that could induce privileged CSR operations.
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/28/2026, 6:01:51 AM
Last updated: 6/3/2026, 10:11:26 PM
Views: 39
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.