What’s Vulnerable › Vulnerabilities
CVE-2026-29645
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-20 · updated 2026-06-17
- Weakness: CWE-131
Description
NEMU (OpenXiangShan/NEMU) before v2025.12.r2 contains an improper instruction-validation flaw in its RISC-V Vector (RVV) decoder. The decoder does not correctly validate the funct3 field when decoding vsetvli/vsetivli/vsetvl, allowing certain invalid OP-V instruction encodings to be misinterpreted and executed as vset* configuration instructions rather than raising an illegal-instruction exception. This can be exploited by providing crafted RISC-V binaries to cause incorrect trap behavior, architectural state corruption/divergence, and potential denial of service in systems that rely on NEMU for correct execution or sandboxing.
Affected products
- Xiangshan Nemu: 2025.12-r1
References
- https://docs.riscv.org/reference/isa/unpriv/v-st-ext.html
- https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039
- https://github.com/OpenXiangShan/NEMU/issues/952
- https://github.com/OpenXiangShan/NEMU/pull/958
Get alerted when CVE-2026-29645 or the next vulnerability affects your stack