{"id":"CVE-2026-29645","aliases":["CVE-2026-29645"],"related":[],"kind":"vulnerability","state":"published","title":"NEMU (OpenXiangShan/NEMU) before v2025.12.r2 contains an improper instruction-validation flaw in its RISC-V Vector (RVV) decoder.","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"NEMU (OpenXiangShan/NEMU) anterior a v2025.12.r2 contiene una falla de validación de instrucciones inadecuada en su decodificador RISC-V Vector (RVV). El decodificador no valida correctamente el campo funct3 al decodificar vsetvli/vsetivli/vsetvl, permitiendo que ciertas codificaciones de instrucciones OP-V inválidas sean malinterpretadas y ejecutadas como instrucciones de configuración vset en lugar de generar una excepción de instrucción ilegal. Esto puede ser explotado al proporcionar binarios RISC-V manipulados para causar un comportamiento de trampa incorrecto, corrupción/divergencia del estado arquitectónico y potencial denegación de servicio en sistemas que dependen de NEMU para una ejecución correcta o sandboxing.","source":"nvd"}],"published":"2026-04-20T00:00:00.000Z","modified":"2026-11-11T19:10:00.360Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-131","CWE-1287"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"status":"affected","version":"2025.12"}],"vendor":"xiangshan","product":"nemu","cpe":"cpe:2.3:a:xiangshan:nemu:2025.12:r1:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/OpenXiangShan/NEMU/issues/952","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenXiangShan/NEMU/pull/958","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://docs.riscv.org/reference/isa/unpriv/v-st-ext.html","tags":["product"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-04-21T13:33:07.838Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29645","url":"https://www.cve.org/CVERecord?id=CVE-2026-29645","licence":"CVE Terms of Use","modified":"2026-04-21T19:51:06.424Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29645","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29645","licence":"Public domain","modified":"2026-11-11T19:10:00.360Z"}],"updatedAt":"2026-11-25T22:59:19.056Z","epss":{"score":0.00564,"percentile":0.4828,"date":"2026-12-02T12:00:21.000Z"}}