Skip to main content

OpenXiangShan NEMU EUVDEUVD-2026-23958

| CVE-2026-29646 CRITICAL
Privilege Defined With Unsafe Actions (CWE-267)
2026-04-20 mitre GHSA-729m-5x6m-wwxv
9.8
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Gain code execution in RISC-V guest VM
  2. Delivery
    Craft malicious write to sie CSR
  3. Exploit
    Trigger emulator privilege handling bug
  4. Execution
    Corrupt machine-mode mie register
  5. Persist
    Manipulate interrupt delivery or disable critical interrupts
  6. Impact
    Achieve denial of service or privilege escalation within emulator context

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V8 - Authorization Privilege defined with unsafe actions
Exploitation Conditions

Exploitation requires the attacker to execute code within a RISC-V guest virtual machine running under OpenXiangShan NEMU with the RVH (Hypervisor extension) feature explicitly enabled at emulator build/runtime. The attacker must achieve code execution at VS-mode privilege level within the guest-typically requiring compromise of a guest OS or legitimate access to deploy applications in the guest environment. NEMU must be compiled with Hypervisor extension support and launched with virtualization features active; default NEMU configurations without RVH enabled are not vulnerable. Limiting factors include: the specialized nature of RISC-V emulator deployment (primarily research/development environments, not production infrastructure), the need for prior guest-level code execution (this is not a remote code execution vulnerability in NEMU itself), and the requirement for specific emulator configuration flags. The CVSS network vector (AV:N) does not reflect realistic access-NEMU is not a network service, and exploitation begins from within a local guest VM context.

Impact

The CVSS 9.8 Critical score (AV:N/AC:L/PR:N/UI:N) appears misaligned with actual exploitation conditions and real-world deployment context. The network attack vector (AV:N) is questionable-NEMU is an emulator typically used in development/research environments, not a network-facing service. Realistic exploitation requires an attacker to execute code within a RISC-V guest VM running under NEMU with RVH enabled, which is a highly specialized scenario. The EPSS score of 0.03% (9th percentile) strongly supports low real-world risk, indicating security researchers assess this as unlikely to be exploited despite the high CVSS rating. No CISA KEV listing confirms this is not being actively exploited. SSVC assessment suggests 'defer' priority: exploitation status is none (no POC or KEV), technical impact is total (privilege escalation from guest to host emulator context), but automatable exploitation is unlikely given the specialized environment requirements. The primary risk is to RISC-V hardware verification teams, academic researchers, and early-stage SoC developers using NEMU for virtualization testing-not production infrastructure. CRITICAL DATA GAP: CVSS network vector conflicts with emulator usage model; affected version range beyond 'prior to 55295c4' not enumerated in structured form; no CVE-assigned severity justification for AV:N rating.

Exploit ScenarioDerived

A malicious RISC-V guest operating system or application running in VS-mode (virtualized supervisor mode) under NEMU with RVH enabled crafts a write to the sie CSR register with specific bit patterns. Due to incorrect emulation logic, NEMU propagates this write to the machine-mode mie register instead of constraining it to virtualized interrupt state. The attacker gains control over machine-level interrupt enables, allowing them to disable critical interrupts (denial of service) or manipulate interrupt delivery to escalate privileges within the emulator host context. Publicly available exploit code has not been identified, but the GitHub issue #951 and PR #938 provide sufficient technical detail for exploit development by researchers familiar with RISC-V architecture.

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 – Apr 21, 2026

OpenXiangShan NEMU emulator's RISC-V Hypervisor extension implementation allows VS-mode guest writes to the sie (supervisor interrupt-enable) CSR to corrupt machine-level mie state, breaking privilege isolation between virtualization layers. Fixed in commit 55295c4 per GitHub PR #938. Despite CVSS 9.8 Critical rating with network attack vector (AV:N), the EPSS score of 0.03% (9th percentile) indicates extremely low observed exploitation probability, and the vulnerability specifically affects RISC-V emulator environments rather than typical network-accessible services. No CISA KEV listing or public exploit identified at time of analysis, suggesting this is a theoretical high-severity issue in specialized research/development contexts rather than an imminent widespread threat.

RemediationAI

Update OpenXiangShan NEMU to commit 55295c46580456d8d5a9d5736e1fda924b8825ab or later, which corrects the sie CSR write handling logic per GitHub PR #938 (https://github.com/OpenXiangShan/NEMU/pull/938). Organizations using NEMU for RISC-V development should rebuild from the patched source tree available at the OpenXiangShan GitHub repository. If immediate patching is not feasible, disable RVH (Hypervisor extension) support in NEMU build configurations to eliminate the vulnerable code path-this workaround removes virtualization capabilities but prevents privilege boundary violations. For research environments requiring RVH functionality with unpatched versions, restrict NEMU execution to isolated development systems without network access and treat all guest VMs as potentially able to escape virtualization boundaries. Review RISC-V privilege specification documentation (https://docs.riscv.org/reference/isa/priv/hypervisor.html) to understand correct CSR access control expectations when implementing custom emulator modifications. No backports to stable release branches are mentioned in available references, suggesting mainline source updates are the only remediation path.

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 an instruction-set emulator from the OpenXiangShan project implementing the RISC-V architecture, including the RVH (Hypervisor) extension for hardware-assisted virtualization. The vulnerability stems from incorrect handling of CSR (Control and Status Register) writes in the privilege separation logic defined by RISC-V specification chapters on Machine, Supervisor, and Hypervisor modes. The sie CSR controls interrupt enables in supervisor mode (S-mode/VS-mode in virtualized contexts), while mie controls machine-mode (M-mode) interrupts-the highest privilege level. CWE-267 (Privilege Defined With Unsafe Actions) applies because the emulator fails to properly constrain lower-privilege CSR writes, allowing guest OS code in VS-mode to manipulate M-mode state. This violates the fundamental RISC-V privilege model where each mode's CSRs must be isolated according to specification-defined access controls. The CPE data shows generic 'n/a:n/a' product identifiers, indicating NVD classification challenges for specialized emulator software rather than mainstream commercial products.

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

NVD PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

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

In OpenXiangShan NEMU prior to 55295c4, when running with RVH (Hypervisor extension) enabled, a VS-mode guest write to the supervisor interrupt-enable CSR (sie) may be handled incorrectly and can influence machine-level interrupt enable state (mie). This breaks privilege/virtualization isolation and can lead to denial of service or privilege-boundary violation in environments relying on NEMU for correct interrupt virtualization.

Executive ViewAI

Why It Matters

CVE-2026-29646 is a critical privilege isolation bypass in OpenXiangShan NEMU's RISC-V hypervisor implementation that allows guest virtual machines to corrupt supervisor-level interrupt state, potentially enabling unauthorized access to host system resources. However, this vulnerability affects specialized emulation environments used primarily in research and development rather than production network infrastructure, making it a low-urgency priority for most organizations unless RISC-V virtualization is core to operations.

Business Impact: Low
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: restrict network access to NEMU instances; disable RISC-V hypervisor functionality if not required; implement host-level process isolation using containers or separate virtual machines; monitor for unauthorized CSR state modifications through hypervisor logging if available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% exploitable
Data Quality
5 sources
Confidence: Medium

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