# CVE-2026-29648: In OpenXiangShan NEMU, when Smstateen is enabled, clearing mstateen0.ENVCFG does not correctly restrict access to henvcfg and senvcfg.

- Severity: High 8.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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.56%, higher than 40% of CVEs (2026-11-30)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-20T00:00:00.000Z
- Modified: 2026-06-17T10:29:51.030Z
- Weaknesses: CWE-269
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: mitre

## Description

In OpenXiangShan NEMU, when Smstateen is enabled, clearing mstateen0.ENVCFG does not correctly restrict access to henvcfg and senvcfg. As a result, less-privileged code may read or write these CSRs without the required exception, potentially bypassing intended state-enable based isolation controls in virtualized or multi-privilege environments.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/OpenXiangShan/NEMU/issues/690> (exploit)
- <https://github.com/OpenXiangShan/XiangShan/pull/3978>
- <https://docs.riscv.org/reference/isa/priv/smstateen.html>

## Sources

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

---

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