Skip to main content

NEMU CVE-2026-29645

| EUVDEUVD-2026-23937 HIGH
Incorrect Calculation of Buffer Size (CWE-131)
2026-04-20 mitre
7.5
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft RISC-V binary with invalid OP-V funct3
  2. Delivery
    Deliver binary to NEMU-based execution service
  3. Exploit
    Decoder misreads it as vset* config instruction
  4. Execution
    Vector/architectural state corrupted, trap behavior wrong
  5. Impact
    Denial of service or execution divergence

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V15 - Secure Coding and Architecture Buffer size calculation
Exploitation Conditions

Requires the target to load and execute an attacker-supplied RISC-V binary under NEMU with the RISC-V Vector (RVV) extension decode path active; the specific trigger is an OP-V (major opcode 0x57) instruction whose funct3 field encodes an invalid/reserved value that the pre-v2025.12.r2 decoder aliases onto vsetvli/vsetivli/vsetvl. Exploitation is limited by the need to control the binary NEMU runs - there is no remote network service being attacked despite the AV:N label - and impact is confined to availability and architectural-state correctness (no confidentiality or integrity loss per the vector). It matters only in deployments that rely on NEMU for correct execution, differential validation, or sandboxing of untrusted code; environments running only trusted binaries are effectively not exposed.

Impact

The signals point to a low real-world priority despite the 7.5 (High) CVSS. The published vector is CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - availability-only, no confidentiality or integrity loss. The AV:N (network) attribution is questionable: exploitation requires supplying a crafted RISC-V binary for NEMU to execute, which is fundamentally a local/supplied-input operation rather than a remote network service interaction - verify the vector with the reporter, as AV:L is more defensible. EPSS is 0.01% (0th percentile) and SSVC reports Exploitation: none and Technical Impact: partial, consistent with no active exploitation and a bounded DoS/state-corruption effect confined to emulation correctness. SSVC Automatable: yes reflects that a malicious binary can trigger it deterministically without per-target tuning, but the practical blast radius is limited to environments that trust NEMU for correct execution or sandboxing. Net: real but niche; prioritize only if NEMU sits on a trust boundary.

Exploit ScenarioDerived

An attacker crafts a RISC-V ELF containing a reserved OP-V encoding whose funct3 field would normally make it illegal, and gets a victim to run it under a vulnerable NEMU (for example a shared analysis, CI, or sandboxed-execution service). NEMU misdecodes the instruction as a vset* configuration op, corrupting vector configuration/architectural state and diverging from correct trap behavior, leading to denial of service or invalid execution rather than the expected illegal-instruction exception. No public proof-of-concept is identified at time of analysis, though the upstream fix commit implicitly documents the triggering encodings.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 24, 2026

Availability-impacting instruction-decoding flaw in OpenXiangShan NEMU (a RISC-V emulator/reference model) before v2025.12.r2 lets crafted RISC-V binaries slip malformed OP-V encodings past the RVV decoder. Because the decoder fails to validate the funct3 field, invalid vector instructions are misinterpreted and executed as vsetvli/vsetivli/vsetvl configuration instructions instead of raising an illegal-instruction exception, causing incorrect trap behavior, architectural-state divergence, and denial of service. There is no public exploit identified at time of analysis, EPSS is negligible (0.01%), and CISA SSVC records exploitation status as none.

RemediationAI

Vendor-released patch: upgrade NEMU to v2025.12.r2 or later, which includes the corrected RVV decode tables. The authoritative fix is PR https://github.com/OpenXiangShan/NEMU/pull/958 and commit https://github.com/OpenXiangShan/NEMU/commit/481de637d5fc5838356caee80a79e56a33754039; teams building NEMU from source can cherry-pick that commit if they cannot move to the tagged release. If patching must be deferred, do not feed untrusted or attacker-supplied RISC-V binaries to NEMU and restrict emulation to vetted workloads; where NEMU is used for differential testing against XiangShan RTL, treat any decode divergence as a validation failure rather than a benign mismatch. These controls trade off throughput and the ability to fuzz arbitrary binaries, but they close the only realistic exposure path (untrusted binary input) until the upgrade is applied.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

NEMU is the emulator/architectural reference model of the OpenXiangShan open-source RISC-V processor project, used to execute RISC-V binaries and to differentially validate the XiangShan RTL. The defect lives in the RISC-V Vector (RVV) extension decoder (src/isa/riscv64/instr/rvv/decode.h), where instruction dispatch relies on matching bit-field patterns including funct3. The vset* family (vsetvli/vsetivli/vsetvl) shares major opcode OP-V (0x57) with arithmetic vector instructions and is distinguished by funct3; when funct3 is not correctly checked, certain reserved/invalid OP-V encodings alias onto the vset* decode path. The upstream fix (PR #958, commit 481de637) tightens the decode tables in the vopmvx/vopmvv helpers so illegal encodings are rejected. Note that the assigned CWE-131 (Incorrect Calculation of Buffer Size) appears mismatched with the actual root cause, which is improper validation of an instruction-encoding field (closer to improper input/instruction validation); treat the CWE as unreliable metadata here.

Know when N A gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.2 MEDIUM

Exploitation requires supplying a crafted binary for local emulation rather than attacking a network service, so AV:L; no confidentiality/integrity loss, availability/state-correctness impact only.

3.1 AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
CVSS changed
Apr 21, 2026 - 20:22 NVD
7.5 (HIGH)
CVE Published
Apr 20, 2026 - 00:00 nvd
HIGH 7.5

DescriptionCVE.org

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.

Executive ViewAI

Why It Matters

OpenXiangShan NEMU, a RISC-V emulator used in development and validation, contains a denial-of-service flaw in vector instruction decoding triggered by malformed binaries; no public exploit identified at time of analysis. With negligible risk probability (0.01% EPSS), this requires upgrading to v2025.12.r2 within 30 days.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 100% exploitable
Prevalence
Rare
research-grade RISC-V emulator for one open-source CPU project
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy