# CVE-2026-29645: NEMU (OpenXiangShan/NEMU) before v2025.12.r2 contains an improper instruction-validation flaw in its RISC-V Vector (RVV) decoder.

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.56%, higher than 48% of CVEs (2026-12-02)
- Published: 2026-04-20T00:00:00.000Z
- Modified: 2026-11-11T19:10:00.360Z
- Weaknesses: CWE-131, CWE-1287
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: mitre

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

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- xiangshan nemu: 2025.12

## References

- <https://github.com/OpenXiangShan/NEMU/issues/952> (issue-tracking)
- <https://github.com/OpenXiangShan/NEMU/pull/958> (issue-tracking)
- <https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039> (patch)
- <https://docs.riscv.org/reference/isa/unpriv/v-st-ext.html> (product)

## Sources

- CVE List: [CVE-2026-29645](https://www.cve.org/CVERecord?id=CVE-2026-29645), CVE Terms of Use, modified 2026-04-21
- NVD: [CVE-2026-29645](https://nvd.nist.gov/vuln/detail/CVE-2026-29645), Public domain, modified 2026-11-11

---

Page: https://cve.day/CVE-2026-29645 · Whole record: https://cve.day/CVE-2026-29645.json · Rebuilt by cve.day 2026-11-25T22:59:19.056Z
