1. Archivio CVE
  2. 2026
  3. CVE-2026-29642

CVE-2026-29642

7.8 Gravità alta CVSS v3.1 · fonte NVD CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H 7.8 – Alta

Descrizione

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.

Tipo di vulnerabilità

CWE-1244 Internal Asset Exposed to Unsafe Debug Access Level or State

The product uses physical debug or test interfaces with support for multiple access levels, but it assigns the wrong debug access level to an internal asset, providing unintended access to the asset from untrusted debug agents.

Impatto sui sistemi

AmbitoImpatto
Riservatezza Leggere la memoria
Integrità Modificare la memoria
Autorizzazione, Controllo degli accessi Ottenere privilegi o assumere un’altra identità, Aggirare i meccanismi di protezione

Come si previene

Architettura e progettazione · Sviluppo For security-sensitive assets accessible over debug/test interfaces, only allow trusted agents.
Architettura e progettazione Apply blinding or masking techniques in strategic areas.
Sviluppo Add shielding or tamper-resistant protections to the device, which increases the difficulty and cost for accessing debug/test interfaces.

Le indicazioni di mitigazione sono riportate nella lingua originale del catalogo CWE del MITRE.

Tutte le 10 CVE di tipo CWE-1244, con andamento e prevenzione

Fonte: catalogo CWE del MITRE · cwe.mitre.org