# CVE-2026-29649: NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrect…

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/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.69%, higher than 48% of CVEs (2026-11-30)
- Published: 2026-04-20T00:00:00.000Z
- Modified: 2026-11-11T19:10:00.360Z
- Weaknesses: CWE-693
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: mitre

## Description

NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrectly masked/updated based on menvcfg[7:4], so a machine-mode write to menvcfg can implicitly modify the hypervisor's environment configuration. This can lead to incorrect enforcement of virtualization configuration and may cause unexpected traps or denial of service when executing cache-block management instructions in virtualized contexts (V=1).

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xiangshan nemu: no versions given

## References

- <https://github.com/OpenXiangShan/NEMU/issues/681> (issue-tracking)
- <https://github.com/OpenXiangShan/NEMU/pull/689> (issue-tracking, patch)
- <https://docs.riscv.org/reference/isa/priv/machine.html> (product)
- <https://docs.riscv.org/reference/isa/priv/hypervisor.html> (product)

## Sources

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

---

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