CVE-2026-29645
CVE-2026-29645 is a high-severity vulnerability in Xiangshan Nemu with a CVSS 3.x base score of 7.5. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-131.
Key facts
- Severity: High (CVSS 3.x base score 7.5)
- EPSS exploit prediction: 1% (42nd percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-23937
- Weakness: CWE-131
- Affected product: Xiangshan Nemu
- Published:
- Last modified:
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.
Frequently asked questions
- What is 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.
- How severe is CVE-2026-29645?
- CVE-2026-29645 has a CVSS 3.x base score of 7.5, rated high severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
- Is CVE-2026-29645 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (42nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-29645?
- CVE-2026-29645 affects Xiangshan Nemu. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-29645?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-29645 have an EU (EUVD) identifier?
- Yes. CVE-2026-29645 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-23937.
- When was CVE-2026-29645 published?
- CVE-2026-29645 was published on 2026-04-20 and last updated on 2026-06-17.
References
- https://docs.riscv.org/reference/isa/unpriv/v-st-ext.html
- https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039
- https://github.com/OpenXiangShan/NEMU/issues/952
- https://github.com/OpenXiangShan/NEMU/pull/958
Affected products (1)
- cpe:2.3:a:xiangshan:nemu:2025.12:r1:*:*:*:*:*:*
More vulnerabilities in Xiangshan Nemu
- CVE-2026-29649 — Critical (CVSS 9.8): NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related…
All CVEs affecting Xiangshan Nemu →
Other CWE-131 (Incorrect Calculation of Buffer Size) vulnerabilities
- CVE-2026-52955 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: libceph: Fix potential out-of-bounds access in…
- CVE-2026-41676 — Critical (CVSS 9.8): rust-openssl provides OpenSSL bindings for the Rust programming language. From 0.9.27 to before 0.10.78,…
- CVE-2026-1949 — Critical (CVSS 9.8): Delta Electronics AS320T has incorrect calculation of the buffer size on the stack in the GET/PUT request handler of…
- CVE-2026-20911 — Critical (CVSS 9.8): A heap-based buffer overflow vulnerability exists in the HuffTable::initval functionality of LibRaw Commit 0b56545 and…
- CVE-2025-1861 — Critical (CVSS 9.8): In PHP from 8.1.* before 8.1.32, from 8.2.* before 8.2.28, from 8.3.* before 8.3.19, from 8.4.* before 8.4.5, when…
- CVE-2023-5941 — Critical (CVSS 9.8): In versions of FreeBSD 12.4-RELEASE prior to 12.4-RELEASE-p7 and FreeBSD 13.2-RELEASE prior to 13.2-RELEASE-p5 the…
Browse all CWE-131 (Incorrect Calculation of Buffer Size) vulnerabilities →