Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessExecute machine-mode code in emulated core
-
DeliveryWrite menvcfg[7:4] cache-block fields
-
Exploithenvcfg implicitly mutated by buggy CSR read
-
ExecutionV=1 guest runs cbo.* instruction
-
ImpactUnexpected trap halts emulated run (DoS)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Protection mechanism completeness
|
| Exploitation Conditions | Exploitation requires the ability to execute machine-mode (M-mode) code inside the emulated RISC-V system and to write to the menvcfg CSR, with the RISC-V hypervisor extension in use and a guest executing in virtualized mode (V=1) that issues cache-block-management (Zicbom/Zicboz cbo.*) instructions. The trigger is precisely a machine-mode write to menvcfg[7:4], which the flawed read path folds into henvcfg[7:4]. Limiting factors that reduce realistic risk: the attacker must already hold the highest RISC-V privilege level (M-mode) within the emulator, the effect is confined to NEMU's emulated environment rather than real hardware or a host, and the described consequence is unexpected traps / DoS in virtualized contexts - not host code execution. This contradicts the NVD PR:N/AV:N metrics and should be verified against the source. |
| Impact | Signals conflict strongly and the real-world priority is very low. The NVD CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N, C:H/I:H/A:H = 9.8) implies remote, unauthenticated, full-impact RCE - but the description describes a local emulator-internal flaw reachable only by machine-mode (highest-privilege) code, whose stated impact is unexpected traps / denial of service, not confidentiality or integrity compromise of a host. This is a classic high-CVSS-but-low-real-risk case: the AV:N and PR:N metrics are not consistent with the described machine-mode prerequisite - verify with the source before treating this as network-exploitable. Corroborating low-risk signals: EPSS 0.01% (0th percentile), SSVC Exploitation=none, and the tag 'Denial Of Service'. SSVC does list Automatable=yes and Technical Impact=total, but those are theoretical within the emulated model. Because NEMU is a research/verification emulator rather than production infrastructure, exposure is minimal. |
| Exploit ScenarioDerived | A developer or automated test runs a virtualized RISC-V workload inside NEMU; machine-mode code in the emulated system writes menvcfg, which the buggy CSR read logic reflects into henvcfg's cache-block fields. When the V=1 guest subsequently executes a cache-block-management instruction (e.g., cbo.inval/cbo.zero), the misconfigured environment causes an unexpected trap and the emulated run stalls or aborts (denial of service). No public exploit code exists, and triggering requires control of machine-mode execution within the emulator. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Denial of service and incorrect virtualization-configuration enforcement affect NEMU, the OpenXiangShan RISC-V full-system emulator, because its Hypervisor CSR logic derives henvcfg[7:4] (the CBIE/CBCFE/CBZE cache-block-management fields) from menvcfg[7:4] via an erroneous mask on read. As a result, machine-mode code that writes menvcfg implicitly mutates the hypervisor environment configuration, so guest code running virtualized (V=1) can hit unexpected traps or a denial-of-service when executing cache-block-operation (cbo.*) instructions. No public exploit is identified at time of analysis; EPSS is 0.01% and CISA SSVC lists exploitation as 'none', which conflicts sharply with the 9.8 NVD base score.
RemediationAI
Upstream fix available (PR/commit); released patched version not independently confirmed - apply the change in pull request https://github.com/OpenXiangShan/NEMU/pull/689, which removes the erroneous masking of henvcfg by menvcfg in src/isa/riscv64/system/priv.c (see issue https://github.com/OpenXiangShan/NEMU/issues/681). No tagged release version is provided in the input, so rebuild NEMU from a source tree that includes that commit rather than relying on a specific version tag. As NEMU is a development/verification tool, the practical compensating control until you rebuild is to avoid relying on NEMU's henvcfg cache-block (Zicbom/Zicboz) behavior for hypervisor-configuration correctness in test harnesses, and to treat any DoS/unexpected-trap results from virtualized (V=1) cbo.* instruction tests as suspect; there is no production service to firewall or feature-disable here, so no networking or access-control mitigation is applicable.
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 emulates the RISC-V privileged architecture, including the M-mode CSR menvcfg and the hypervisor-extension CSR henvcfg. Per the RISC-V privileged and hypervisor specs (referenced in the advisory), menvcfg controls the environment configuration seen at lower privilege, while henvcfg independently controls the environment configuration for a virtualized guest (V=1); the low nibble [7:4] governs cache-block instruction behavior (Zicbom/Zicboz - CBIE, CBCFE, CBZE). The emulator bug is a protection-mechanism failure (CWE-693): in csr_read the henvcfg value was being AND-masked with menvcfg->val & MENVCFG_WMASK, so henvcfg's cache-block fields were tied to menvcfg instead of being maintained separately. The PR #689 fix removes the line 'henvcfg_out &= menvcfg->val & MENVCFG_WMASK;', restoring independent hypervisor configuration semantics. This is a functional-correctness flaw in an emulator's modeling of RISC-V CSRs, not a memory-safety defect in a network service.
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:H/I:H/A:H
Requires M-mode (highest-privilege) code execution inside the emulator so AV:L/PR:H; primary impact is DoS (A:H) with minor config-enforcement integrity (I:L) and no confidentiality loss.
Primary rating from Vendor (mitre).
CVSS VectorVendor: mitre
Lifecycle Timeline
2DescriptionCVE.org
NEMU contains an implementation flaw in its RISC-V Hypervisor CSR handling where henvcfg[7:4] (CBIE/CBCFE/CBZE-related fields) is incorrectly masked/updated based on menvcfg[7:4], so a machine-mode write to menvcfg can implicitly modify the hypervisor's environment configuration. This can lead to incorrect enforcement of virtualization configuration and may cause unexpected traps or denial of service when executing cache-block management instructions in virtualized contexts (V=1).
Executive ViewAI
NEMU, the OpenXiangShan RISC-V full-system emulator, is vulnerable to denial-of-service attacks that can interrupt virtualized guest systems through improper handling of virtualization settings. Organizations deploying RISC-V emulation environments face potential guest system outages with no vendor patch available; however, no active exploitation has been observed, requiring prompt but non-emergency remediation planning.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) restricting or disabling cache-block operation instruction execution in guest-mode contexts, if your hypervisor configuration supports such restrictions; (2) isolating NEMU-based virtual machines from business-critical production workloads; (3) implementing monitoring for unexpected guest process terminations and system trap events that may indicate exploitation; (4) engaging directly with OpenXiangShan maintainers regarding vendor guidance and potential configuration-level workarounds.
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-23944
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB