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

CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
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-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

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