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

CVE-2026-42944

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

Descrizione

NLnet Labs Unbound 1.14.0 up to and including version 1.25.0 has a vulnerability that results in heap overflow when encoding multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options in the reply packet. The relevant options ('nsid', 'answer-cookie', 'pad-responses' (default)) need to be enabled for the vulnerability to be exploited. An adversary who can query Unbound can exploit the vulnerability by attaching multiple NSID and/or DNS Cookie EDNS and/or EDNS Padding options to the query. A flaw in the size calculation of the EDNS field truncates the correct value which allows the encoder to overflow the available space when writing. Those two combined lead to a heap overflow write of Unbound controlled data and eventually a crash. Unbound 1.25.1 contains a patch with a fix to de-duplicate the EDNS options and a fix to prevent truncation of the EDNS field size calculation.

Prodotti coinvolti

FornitoreProdottoVersionePiattaforma
nlnetlabs unbound >= 1.14.0 < 1.25.1 –
Tutte le 73 vulnerabilità di Nlnetlabs Unbound

Tipo di vulnerabilità

CWE-197 Numeric Truncation Error

Truncation errors occur when a primitive is cast to a primitive of a smaller size and data is lost in the conversion.

Impatto sui sistemi

AmbitoImpatto
Integrità Modificare la memoria, Dipende dal contesto

Come si previene

Sviluppo Ensure that no casts, implicit or explicit, take place that move from a larger size primitive or a smaller size primitive.

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

Tutte le 76 CVE di tipo CWE-197, con andamento e prevenzione

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