CVE-2026-29645: NEMU - Improper Instruction Validation
- Cve: CVE-2026-29645
- Name: NEMU - Improper Instruction Validation
- 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.
- Impact: Attackers can cause architectural state corruption and denial of service, disrupting system execution or sandboxing.
- Remediation: Update to version v2025.12.r2 or later.
- Vulnerability impact: denial_of_service
- Requirements: Attacker needs to provide crafted RISC-V binaries
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.00564
- Epss percentile: 0.47799
- Assignee: [email protected]
- Published at: 2026-04-20T20:16:48Z
- Age in days: 218
- Modified at: 2026-11-11T19:10:00Z
- Patch available: yes
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-29645
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
- Not known: vulnerability type, requirement type, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-131 | Incorrect Calculation of Buffer Size |
References
Same in every row:
- Source: nvd
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| xiangshan:nemu | = 2025.12 r1 | no | nvd | /v1/products/xiangshan/nemu |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| OpenXiangShan/NEMU | commit, fix, issues, pull | yes | /v1/repositories/OpenXiangShan/NEMU |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts