High severity7.5NVD Advisory· Published Apr 20, 2026· Updated Apr 24, 2026
CVE-2026-29645
CVE-2026-29645
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected products
2cpe:2.3:a:xiangshan:nemu:2025.12:r1:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:xiangshan:nemu:2025.12:r1:*:*:*:*:*:*
- (no CPE)range: < v2025.12.r2
Patches
Vulnerability mechanics
References
4- github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039nvdPatch
- docs.riscv.org/reference/isa/unpriv/v-st-ext.htmlnvdProduct
- github.com/OpenXiangShan/NEMU/issues/952nvdIssue Tracking
- github.com/OpenXiangShan/NEMU/pull/958nvdIssue Tracking
News mentions
0No linked articles in our index yet.