CVE-2026-29644 Details
Description
XiangShan (open-source high-performance RISC-V processor) commit edb1dfaf7d290ae99724594507dc46c2c2125384 (2024-11-28) has improper gating of its distributed CSR write-enable path, allowing illegal CSR write attempts to alter custom PMA (Physical Memory Attribute) CSR state. Though the RISC-V privileged specification requires an illegal-instruction exception for non-existent/illegal CSR accesses, affected XiangShan versions may still propagate such writes to replicated PMA configuration state. Local attackers able to execute code on the core (privilege context depends on system integration) can exploit this to tamper with memory-attribute enforcement, potentially leading to privilege escalation, information disclosure, or denial of service depending on how PMA enforces platform security and isolation boundaries.
A vulnerability in the XiangShan open-source RISC-V processor has been identified, specifically in the distributed Control and Status Register (CSR) write-enable path. The issue arises from improper gating, which allows illegal CSR write attempts to modify the state of custom Physical Memory Attribute (PMA) CSRs. According to the RISC-V privileged specification, such illegal accesses should trigger an exception. However, in the affected XiangShan versions, these illegal writes can propagate to the replicated PMA configuration state. This vulnerability can be exploited by local attackers with code execution capabilities on the core, potentially leading to unauthorized changes in memory attribute enforcement. The impact could include privilege escalation, information disclosure, or denial-of-service, depending on how PMA manages platform security and isolation.
The vulnerability has been addressed in a recent commit, which corrects the CSR write-enable gating issue. Users should update to the latest version of XiangShan to apply this fix.
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 21, 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/priv-csrs.html | [email protected] | |
| https://github.com/OpenXiangShan/XiangShan/commit/2b1f9796aa98597e5eeac32e5bb1418496987ca4 | [email protected] | Source CodeVendor |
| https://github.com/OpenXiangShan/XiangShan/commit/edb1dfaf7d290ae99724594507dc46c2c2125384 | [email protected] | Source CodeVendor |
| https://github.com/OpenXiangShan/XiangShan/issues/3959 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://xiangshan-doc-test.readthedocs.io/next/memory/mmu/pmp_pma/ | [email protected] | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-284 | Improper Access Control | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| OpenXiangShan | <= 2024-11-28 |
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 21, 2026 | New CVE Received | [email protected] |
Volerion