Vulnerability

CVE-2026-29645

highCVSS 3.1 7.5Published 20 Apr 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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

From the NVD's configuration data (CPE), vendor first.

  • Xiangshan nemu

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning