Skip to main content

OpenXiangShan NEMU CVE-2026-29647

| EUVDEUVD-2026-23960 MEDIUM
Improper Privilege Management (CWE-269)
2026-04-20 mitre GHSA-8w4w-q822-g7ph
6.5
CVSS 3.1 · NVD
Share

Severity by source

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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

5
Analysis Generated
Apr 21, 2026 - 20:25 vuln.today
CVSS changed
Apr 21, 2026 - 20:22 NVD
6.5 (MEDIUM)
EUVD ID Assigned
Apr 20, 2026 - 21:15 euvd
EUVD-2026-23960
Analysis Generated
Apr 20, 2026 - 21:15 vuln.today
CVE Published
Apr 20, 2026 - 00:00 nvd
MEDIUM 6.5

DescriptionCVE.org

In OpenXiangShan NEMU, insufficient Smstateen permission enforcement allows lower-privileged code to access IMSIC state via stopei/vstopei CSRs even when mstateen0.IMSIC is cleared, potentially enabling cross-context information leakage or disruption of interrupt handling.

AnalysisAI

OpenXiangShan NEMU fails to properly enforce Smstateen permission controls, allowing authenticated local users to access IMSIC (Incoming Message Signal Interrupt Controller) state through stopei/vstopei CSRs despite mstateen0.IMSIC being cleared. This privilege escalation enables cross-context information disclosure of interrupt state and potential disruption of interrupt handling mechanisms in lower-privileged execution contexts.

Technical ContextAI

OpenXiangShan NEMU is a RISC-V emulator/simulator. The vulnerability involves insufficient enforcement of the Smstateen extension, a RISC-V privilege specification mechanism that controls access to privileged state via mstateen0 registers. Specifically, the stopei (Stop External Interrupt) and vstopei (Virtual Stop External Interrupt) Control and Status Registers (CSRs) should be gated by the mstateen0.IMSIC permission bit. When mstateen0.IMSIC is cleared (disabled), lower-privileged code (S-mode/U-mode) should be blocked from accessing IMSIC state, but the insufficient permission enforcement allows bypass. The root cause is improper access control validation (CWE-269: Improper Access Control) in the CSR access path. This is a simulator/emulator vulnerability affecting RISC-V architecture emulation correctness and security property enforcement.

RemediationAI

Apply the upstream fix from OpenXiangShan/NEMU pull request #3978, which corrects Smstateen permission enforcement in the CSR access control path for stopei/vstopei registers. Users should merge or cherry-pick the PR changes into their NEMU builds and recompile. If immediate patching is not feasible, apply input validation at the simulator-guest boundary: explicitly block guest code in S-mode and U-mode from executing stopei/vstopei CSR instructions when mstateen0.IMSIC is cleared, implementing the permission check in the CSR instruction decoder. No runtime workaround is available for systems already using vulnerable NEMU builds; recompilation with the fix is required. For organizations using NEMU in architecture validation pipelines, update regression tests to verify mstateen0.IMSIC permission enforcement against the RISC-V Smstateen specification (docs.riscv.org reference provided).

More in N A

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

CVE-2026-36356 CRITICAL POC
9.1 May 05

Unauthenticated remote OS command injection in MeiG Smart FORGE_SLT711 cellular gateway firmware MDM9607.LE.1.0-00110-ST

CVE-2026-31071 CRITICAL POC
9.1 May 19

Unauthenticated API access in LalanaChami Pharmacy Management System (commit 5c3d028) allows remote attackers to dump al

CVE-2025-66391 HIGH POC
8.8 Jun 17

In Citrix Cloud through 2025-11-10, an account with read-only access can trigger the beginning of a workflow for write o

CVE-2026-26740 HIGH POC
8.2 Mar 18

Giflib 5.2.2 contains a buffer overflow in the EGifGCBToExtension function that fails to validate allocated memory when

CVE-2025-60464 HIGH POC
7.8 Jun 25

Denial of service in GPAC's MP4Box multimedia tool (versions before 26.02.0) arises from a use-after-free in the gf_sei_

CVE-2026-36355 HIGH POC
7.7 May 05

Arbitrary kernel memory read/write in Realtek rtl819x Jungle SDK Wi-Fi driver allows local unprivileged attackers to acc

CVE-2025-60474 HIGH POC
7.5 Jun 24

Denial of service in GPAC's MP4Box/libgpac media importer (versions before 26.02.0) lets an attacker crash the tool by s

CVE-2026-38639 HIGH POC
7.5 Jun 26

An issue in the parse_month function (/time/strptime.rs) of relibc commit ab6a2e allows attackers to cause a Denial of S

CVE-2026-38641 HIGH POC
7.5 Jun 26

Denial of service in relibc (the Redox OS C standard library) at commit 61f42d allows attackers to crash a process by ge

CVE-2026-38637 HIGH POC
7.5 Jun 25

An issue in the pthread_rwlockattr_setpshared() function of relibc commit 61f42d allows attackers to cause a Denial of S

CVE-2026-38640 HIGH POC
7.5 Jun 25

Denial of service in relibc (the Redox OS C standard library implementation, commit 61f42d) lets attackers crash a proce

Share

CVE-2026-29647 vulnerability details – vuln.today

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