CVE-2026-29645

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:xiangshan:nemu:2025.12:r1:*:*:*:*:*:*

History

No history.

Information

Published : 2026-04-20 20:16

Updated : 2026-06-17 10:29


NVD link : CVE-2026-29645

Mitre link : CVE-2026-29645

CVE.ORG link : CVE-2026-29645


JSON object : View

Products Affected

xiangshan

  • nemu
CWE
CWE-131

Incorrect Calculation of Buffer Size

CWE-1287

Improper Validation of Specified Type of Input