SecurityContext

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

IdName
CWE-131Incorrect Calculation of Buffer Size

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039Patch
https://github.com/OpenXiangShan/NEMU/issues/952Issue Tracking
https://github.com/OpenXiangShan/NEMU/pull/958Issue Tracking
https://docs.riscv.org/reference/isa/unpriv/v-st-ext.htmlProduct

Products

ProductAffectedPlatform boundSourcesUrl
xiangshan:nemu= 2025.12 r1nonvd/v1/products/xiangshan/nemu

Projects

RepositoryLink kindsIndexedUrl
OpenXiangShan/NEMUcommit, fix, issues, pullyes/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