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

CVE-2026-55990

5.9 Gravità media CVSS v3.1 · fonte NVD CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H 5.9 – Media

Descrizione

In NLnet Labs Unbound 1.7.0 up to and including 1.25.1, when the 'dnscrypt:' clause lists more 'dnscrypt-provider-cert:' files than there are matching 'dnscrypt-secret-key:' files, Unbound fills only the matched prefix and leaves the tail slots at the '0xdb' fill that libsodium's allocator writes into every allocation. Unbound would then iterate over the number of cert files, not the actual slots, so it walks into a slot with garbage data filled with '0xdb' bytes. Any unauthenticated client that sends one UDP datagram of ≥ 68 bytes whose first 8 bytes are '0xdb' to 'dnscrypt-port' will use that garbage entry which leads to a garbage dereference killing the server. This is a silent faulty configuration that goes unnoticed until triggered with the right client query. Unbound needs to be compiled with DNSCrypt support ('--enable-dnscrypt').

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nlnetlabs unbound >= 1.7.0 < 1.25.2 –
Tutte le 73 vulnerabilità di Nlnetlabs Unbound

Tipo di vulnerabilità

CWE-457 Use of Uninitialized Variable

The code uses a variable that has not been initialized, leading to unpredictable or unintended results.

Impatto sui sistemi

AmbitoImpatto
Riservatezza, Integrità, Disponibilità, Altro Dipende dal contesto, Leggere i dati dell’applicazione
Disponibilità Alterare la logica di esecuzione, Stato imprevisto
Autorizzazione, Altro Dipende dal contesto

Come si previene

Sviluppo · Riduzione della superficie di attacco Ensure that critical variables are initialized before first use.
Build e compilazione · Hardening della compilazione Most compilers will complain about the use of uninitialized variables if warnings are turned on.
Sviluppo · Esercizio When using a language that does not require explicit declaration of variables, run or compile the software in a mode that reports undeclared or unknown variables. This may indicate the presence of a typographic error in the variable's name.
Requisiti · Scelta del linguaggio Choose a language that is not susceptible to these issues.
Architettura e progettazione Mitigating technologies such as safe string libraries and container abstractions could be introduced.

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

Tutte le 222 CVE di tipo CWE-457, con andamento e prevenzione

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