CVE-2026-29643 Details
Description
XiangShan (Open-source high-performance RISC-V processor) commit edb1dfaf7d290ae99724594507dc46c2c2125384 (2024-11-28) contains an improper exceptional-condition handling flaw in its CSR subsystem (NewCSR). On affected versions, certain sequences of CSR operations targeting non-existent/custom CSR addresses may trigger an illegal-instruction exception but fail to reliably transfer control to the configured trap handler (mtvec), causing control-flow disruption and potentially leaving the core in a hung or unrecoverable state. This can be exploited by a local attacker able to execute code on the processor to cause a denial of service and potentially inconsistent architectural state.
A vulnerability exists in the XiangShan open-source RISC-V processor, specifically in the CSR subsystem (NewCSR), as of commit edb1dfaf7d290ae99724594507dc46c2c2125384. The issue stems from improper handling of exceptional conditions, where certain sequences of CSR operations targeting non-existent or custom CSR addresses can trigger an illegal-instruction exception. However, the processor fails to consistently transfer control to the designated trap handler, disrupting the control flow and potentially leaving the core in a hung or unrecoverable state. This vulnerability can be exploited by a local attacker with the ability to execute code on the processor, leading to a denial-of-service condition and possibly an inconsistent architectural state.
The vulnerability has been fixed in a subsequent commit. Users should update to the latest version of the XiangShan processor.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 20, 2026CISA-ADP
Assessed Apr 21, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/OpenXiangShan/XiangShan/issues/3959 | CISA-ADP | ExploitIssue TrackingTechnical DescriptionVendor |
| https://docs.riscv.org/reference/isa/priv/machine.html | [email protected] | |
| https://docs.riscv.org/reference/isa/priv/priv-csrs.html | [email protected] | Not Applicable |
| https://github.com/OpenXiangShan/XiangShan/issues/3959 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/OpenXiangShan/XiangShan/pull/3966 | [email protected] | Source CodeVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-703 | Improper Check or Handling of Exceptional Conditions | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| OpenXiangShan | <= edb1dfaf7d290ae99724594507dc46c2c2125384 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 21, 2026 | CVE Modified | CISA-ADP |
| Apr 20, 2026 | New CVE Received | [email protected] |
Volerion