Protection Mechanism Failure Affecting OpenXiangShan/NEMU package, versions [,2025.12.r1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (39th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-OPENXIANGSHANNEMU-16300050
  • published26 Apr 2026
  • disclosed20 Apr 2026
  • creditUnknown

Introduced: 20 Apr 2026

CVE-2026-29649  (opens in a new tab)
CWE-693  (opens in a new tab)

How to fix?

Upgrade OpenXiangShan/NEMU to version 2025.12.r1 or higher.

Overview

Affected versions of this package are vulnerable to Protection Mechanism Failure due to improper masking and updating of the henvcfg fields in the RISC-V Hypervisor CSR implementation. An attacker can cause incorrect virtualization configuration enforcement or trigger unexpected traps by performing machine-mode writes to menvcfg, which can implicitly alter the hypervisor's environment configuration.

CVSS Base Scores

version 4.0
version 3.1