Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft RISC-V binary with invalid OP-V funct3
-
DeliveryDeliver binary to NEMU-based execution service
-
ExploitDecoder misreads it as vset* config instruction
-
ExecutionVector/architectural state corrupted, trap behavior wrong
-
ImpactDenial 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
EUVD-2026-23937
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB