Skip to main content

NEMU EUVDEUVD-2026-23944

| CVE-2026-29649 CRITICAL
Protection Mechanism Failure (CWE-693)
2026-04-20 mitre
9.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

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

  1. Access
    Execute machine-mode code in emulated core
  2. Delivery
    Write menvcfg[7:4] cache-block fields
  3. Exploit
    henvcfg implicitly mutated by buggy CSR read
  4. Execution
    V=1 guest runs cbo.* instruction
  5. Impact
    Unexpected 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.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
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

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

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 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

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

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.

3.1 AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:L/A:H
4.0 AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:L/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
High
Integrity
High
Availability
High

Lifecycle Timeline

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

DescriptionCVE.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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

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

EPSS Score
0.0%
Top 100% exploitable
Prevalence
Rare
niche open-source RISC-V research emulator, negligible production footprint
Data Quality
6 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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
CRITICAL severity
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
Medium
Technical Impact
Total

Priority Score

49
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +49
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