Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.0%top 97%

CVE-2026-29642: n/a

0
High
VulnerabilityCVE-2026-29642cvecve-2026-29642
Published: Mon Apr 20 2026 (04/20/2026, 00:00:00 UTC)
Source: CVE Database V5

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

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 04/28/2026, 06:01:51 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses