Skip to main content

XiangShan RISC-V Processor EUVDEUVD-2026-24131

| CVE-2026-29644 MEDIUM
Improper Access Control (CWE-284)
2026-04-21 mitre GHSA-p2hj-qw82-grpc
5.3
CVSS 3.1 · NVD
Share

Severity by source

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

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

5
Analysis Generated
Apr 21, 2026 - 18:47 vuln.today
CVSS changed
Apr 21, 2026 - 18:22 NVD
5.3 (MEDIUM)
EUVD ID Assigned
Apr 21, 2026 - 14:30 euvd
EUVD-2026-24131
Analysis Generated
Apr 21, 2026 - 14:30 vuln.today
CVE Published
Apr 21, 2026 - 00:00 nvd
MEDIUM 5.3

DescriptionCVE.org

XiangShan (open-source high-performance RISC-V processor) commit edb1dfaf7d290ae99724594507dc46c2c2125384 (2024-11-28) has improper gating of its distributed CSR write-enable path, allowing illegal CSR write attempts to alter custom PMA (Physical Memory Attribute) CSR state. Though the RISC-V privileged specification requires an illegal-instruction exception for non-existent/illegal CSR accesses, affected XiangShan versions may still propagate such writes to replicated PMA configuration state. Local attackers able to execute code on the core (privilege context depends on system integration) can exploit this to tamper with memory-attribute enforcement, potentially leading to privilege escalation, information disclosure, or denial of service depending on how PMA enforces platform security and isolation boundaries.

AnalysisAI

XiangShan open-source RISC-V processor commit edb1dfaf7d290ae99724594507dc46c2c2125384 and earlier versions fail to properly gate the Control and Status Register (CSR) write-enable path for Physical Memory Attribute (PMA) configuration, allowing local attackers with code execution privileges to write to PMA CSRs that should raise illegal-instruction exceptions per the RISC-V specification. Successful exploitation enables attackers to alter memory attribute enforcement, potentially leading to privilege escalation, information disclosure, or denial of service depending on platform security boundaries. No public exploit code or active exploitation has been confirmed at time of analysis.

Technical ContextAI

XiangShan is an open-source high-performance RISC-V processor design. Control and Status Registers (CSRs) are privileged registers in RISC-V that control processor behavior; the RISC-V Privileged Architecture Specification mandates that illegal CSR accesses raise illegal-instruction exceptions. Physical Memory Attributes (PMA) are configuration CSRs that govern memory access permissions and enforcement. The vulnerability stems from improper gating logic in the distributed CSR write-enable path, a design-level control mechanism that should prevent writes to PMA registers that do not exist or are not accessible in the current privilege context. Instead of blocking these illegal writes and raising exceptions as required, the affected design allows writes to propagate to replicated PMA state, violating the RISC-V specification contract. The root cause is classified under CWE-284 (Improper Access Control), reflecting the failure to enforce register access restrictions at the hardware level.

RemediationAI

Apply the upstream fix from commit 2b1f9796aa98597e5eeac32e5bb1418496987ca4 (https://github.com/OpenXiangShan/XiangShan/commit/2b1f9796aa98597e5eeac32e5bb1418496987ca4), which corrects the CSR write-enable gating logic to properly enforce RISC-V specification requirements for illegal CSR accesses. Since XiangShan is open-source hardware design, remediation requires rebuilding and deploying the updated RTL (register-transfer language) design; organizations using synthesized XiangShan cores must regenerate masks or bitstreams from the patched source. For deployed silicon or embedded systems, hardware remediation may not be feasible; compensating controls include disabling or restricting PMA-dependent security features if they are optional, applying operating-system-level memory protection that does not rely on PMA (such as page-table-based isolation), and restricting local code execution privileges to trusted software only. Organizations integrating XiangShan should review whether PMA is used for critical security isolation; if so, prioritize design update and redeployment. Detailed PMA documentation is available at https://xiangshan-doc-test.readthedocs.io/next/memory/mmu/pmp_pma/.

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

Share

EUVD-2026-24131 vulnerability details – vuln.today

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