CVE-2026-29648

8.8

OpenXiangShan · NEMU

A flaw in OpenXiangShan NEMU allows authenticated users to bypass isolation controls by improperly restricting access to privileged CSRs when Smstateen is enabled.

Executive summary

A vulnerability in the OpenXiangShan NEMU emulator permits lower-privileged code to access sensitive configuration registers, potentially leading to a total compromise of security boundaries.

Vulnerability

This issue stems from an improper implementation of Smstateen logic, where clearing mstateen0.ENVCFG fails to restrict access to henvcfg and senvcfg. The vulnerability requires low-level privileges to exploit and allows an attacker to read or write these registers without triggering necessary exceptions.

Business impact

The ability for less-privileged code to access restricted system registers poses a severe risk to virtualized or multi-tenant environments. With a CVSS score of 8.8, this flaw represents a high risk of unauthorized data access, integrity loss, and privilege escalation, which could facilitate escape from isolated execution domains.

Remediation

Immediate Action: Monitor the OpenXiangShan GitHub repository for official patch releases and apply updates to the NEMU emulator as soon as they become available.

Proactive Monitoring: Review system logs for unauthorized attempts to access privileged control registers or unexpected behavior in virtualized guest environments.

Compensating Controls: Limit access to the affected emulator environments to trusted users only and implement strict host-level isolation to prevent cross-domain privilege escalation.

Exploitation status

Public Exploit Available: Unknown

Analyst recommendation

Given the potential for privilege escalation and the existence of a proof-of-concept, users of the OpenXiangShan NEMU should treat this vulnerability with high priority. Organizations must ensure that any virtualized workloads relying on Smstateen are monitored closely and patched immediately upon the release of a vendor fix to maintain system integrity.

Sources