CVE-2026-29642

Source
https://cve.org/CVERecord?id=CVE-2026-29642
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29642.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-29642
Published
2026-04-20T00:00:00Z
Modified
2026-08-12T03:51:13.274523169Z
Severity
  • 7.8 (High) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully crafted reads/writes to menvcfg (e.g., csrrs in M-mode). On affected XiangShan versions (commit aecf601e803bfd2371667a3fb60bfcd83c333027, 2024-11-19), these menvcfg accesses can unexpectedly set WPRI (reserved) bits in the status view (xstatus) to 1. RISC-V defines WPRI fields as "writes preserve values, reads ignore values," i.e., they must not be modified by software manipulating other fields, and menvcfg itself contains multiple WPRI fields.

Database specific
{
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/29xxx/CVE-2026-29642.json"
}
References

Affected packages

Git / github.com/openxiangshan/xiangshan

Affected ranges

Type
GIT
Repo
https://github.com/openxiangshan/xiangshan
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "source": "REFERENCES"
}

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-29642.json"