{"id":"CVE-2026-29642","aliases":["CVE-2026-29642"],"related":[],"kind":"vulnerability","state":"published","title":"A local attacker who can execute privileged CSR operations (or can induce firmware to do so) performs carefully crafted reads/writes to men…","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-04-20T00:00:00.000Z","modified":"2026-06-17T10:29:50.150Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-1244"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"}],"references":[{"url":"https://github.com/OpenXiangShan/XiangShan/issues/3934","tags":[],"sources":["cvelist","nvd"]},{"url":"https://github.com/OpenXiangShan/XiangShan/commit/5e3dd63","tags":[],"sources":["cvelist","nvd"]},{"url":"https://docs.riscv.org/reference/isa/priv/priv-csrs.html","tags":[],"sources":["cvelist","nvd"]},{"url":"https://docs.riscv.org/reference/isa/priv/machine.html","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-04-21T13:51:42.441Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-29642","url":"https://www.cve.org/CVERecord?id=CVE-2026-29642","licence":"CVE Terms of Use","modified":"2026-04-21T19:50:54.758Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-29642","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-29642","licence":"Public domain","modified":"2026-06-17T10:29:50.150Z"}],"updatedAt":"2026-11-25T22:59:19.059Z","epss":{"score":0.00114,"percentile":0.016,"date":"2026-12-01T12:00:22.000Z"}}