Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://docs.riscv.org/reference/isa/priv/machine.html
- https://docs.riscv.org/reference/isa/priv/priv-csrs.html
- https://github.com/OpenXiangShan/XiangShan/issues/3959
- https://github.com/OpenXiangShan/XiangShan/pull/3966
- https://github.com/OpenXiangShan/XiangShan/issues/3959
FAQ
What is CVE-2026-29643?
CVE-2026-29643 is a vulnerability with a CVSS score of 7.1 (HIGH). XiangShan (Open-source high-performance RISC-V processor) commit edb1dfaf7d290ae99724594507dc46c2c2125384 (2024-11-28) contains an improper exceptional-condition handling flaw in its CSR subsystem (Ne...
How severe is CVE-2026-29643?
CVE-2026-29643 has been rated HIGH with a CVSS base score of 7.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-29643?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.