# CVE-2026-29643: XiangShan (Open-source high-performance RISC-V processor) commit edb1dfaf7d290ae99724594507dc46c2c2125384 (2024-11-28) contains an improper…

- Severity: High 7.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.21%, higher than 12% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T00:00:00.000Z
- Modified: 2026-06-17T10:29:50.293Z
- Weaknesses: CWE-703
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/OpenXiangShan/XiangShan/issues/3959> (exploit)
- <https://github.com/OpenXiangShan/XiangShan/pull/3966>
- <https://docs.riscv.org/reference/isa/priv/priv-csrs.html>
- <https://docs.riscv.org/reference/isa/priv/machine.html>

## Sources

- CVE List: [CVE-2026-29643](https://www.cve.org/CVERecord?id=CVE-2026-29643), CVE Terms of Use, modified 2026-04-21
- NVD: [CVE-2026-29643](https://nvd.nist.gov/vuln/detail/CVE-2026-29643), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-29643 · Whole record: https://cve.day/CVE-2026-29643.json · Rebuilt by cve.day 2026-11-25T22:59:19.067Z
