{"id":"CVE-2026-29642","published":"2026-04-20T00:00:00Z","modified":"2026-04-21T19:50:54Z","title":"A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00114,"percentile":0.01501,"provenance":"source"},"cwes":[{"id":"CWE-1244","name":"Internal Asset Exposed to Unsafe Debug Access Level or State"}],"references":[{"url":"https://github.com/OpenXiangShan/XiangShan/issues/3934","tags":[]},{"url":"https://github.com/OpenXiangShan/XiangShan/commit/5e3dd63","tags":[]},{"url":"https://docs.riscv.org/reference/isa/priv/priv-csrs.html","tags":[]},{"url":"https://docs.riscv.org/reference/isa/priv/machine.html","tags":[]}],"priority":{"score":5.8,"factors":[{"name":"EPSS percentile","points":0.3},{"name":"CVSS severity","points":5.46}]},"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-21T13:51:42.441940Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-23954","exploited":false,"provenance":"source"}}