CVE-2026-29649: Vulnerability in Xiangshan Nemu
Critical. 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...
CWE-693
- Exploitation
- None confirmed
- Severity
- 9.8 of 10
- Attack likelihood
- Unknown
- Fix
- None recorded
- Patch deadline
- No deadline set
Details
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weakness
- CWE-693
- Published
- 20 Apr 2026
- Last change
- 11 Nov 2026
Affected products
Affected versions and the first fixed release
- Xiangshan Nemu All versions. No fixed version recorded
Advisories
Vendor and security advisories
- docs.riscv.org/reference/isa/priv/hypervisor.html
- docs.riscv.org/reference/isa/priv/machine.html
- github.com/OpenXiangShan/NEMU/issues/681
Patches and fixes
Updates, commits and release notes
Related
- Nemu vulnerabilities Recent advisories, watch this product