CVE-2026-33278
JSON

9.1critical

Possible arbitrary code execution during DNSSEC validation

Severity
9.1critical CVSS:4.0 by NLnet Labs
Exploit likelihood
1.42% (higher than 73% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NLnet Labs

Description

NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure.

Affected

Product or packageVersionsReported by
NLnet Labs Unboundfrom 1.19.1 before 1.25.1CVE List
unboundNot specified
Not affected: from 0:1.24.2-7.el10_2.1 before *, from 0:1.24.2-3.el9_8.1 before *
CVE List
unbound-mainNot specified
Not affected: from 1.25.1-0.1.hum1 before *
CVE List
openshift/ose-rhel-coreos-9Not specifiedCVE List
nlnetlabs unboundfrom 1.19.1 before 1.25.1NVD

All scores

NLnet Labs9.1critical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:U/U:Red
redhat-SADP8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-416CWE-672

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total.

What each source says

CVE List

NLnet Labs Unbound 1.19.1 up to and including version 1.25.0 has a vulnerability in the DNSSEC validator that enables denial of service and possible remote code execution as a result of deep copying a data structure and erroneously overwriting a destination pointer. An adversary can exploit the vulnerability by controlling a malicious signed zone and querying a vulnerable Unbound. When DS sub-queries need to suspend validation due to NSEC3 computational budget exhaustion (introduced in Unbound 1.19.1), Unbound deep-copies response messages to preserve them across memory region teardown. A struct-assignment bug overwrites the destination's pointer with the source's pointer. After the sub-query region is freed, the resumed validator dereferences this dangling pointer, triggering a crash or potentially enabling arbitrary code execution. Unbound 1.25.1 contains a patch with a fix to preserve the correct pointer when deep copying the data structure.

NVD (es)

NLnet Labs Unbound 1.19.1 hasta la versión 1.25.0 inclusive tiene una vulnerabilidad en el validador DNSSEC que permite la denegación de servicio y posible ejecución remota de código como resultado de la copia profunda de una estructura de datos y la sobrescritura errónea de un puntero de destino. Un adversario puede explotar la vulnerabilidad controlando una zona firmada maliciosa y consultando un Unbound vulnerable. Cuando las subconsultas DS necesitan suspender la validación debido al agotamiento del presupuesto computacional de NSEC3 (introducido en Unbound 1.19.1), Unbound realiza copias profundas de los mensajes de respuesta para preservarlos durante la desasignación de la región de memoria. Un error de asignación de estructura sobrescribe el puntero del destino con el puntero del origen. Después de que se libera la región de la subconsulta, el validador reanudado desreferencia este puntero colgante, lo que provoca un fallo o potencialmente permite la ejecución de código arbitrario. Unbound 1.25.1 contiene un parche con una corrección para preservar el puntero correcto al realizar la copia profunda de la estructura de datos.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-33278 changed 2026-09-01CVE Terms of Use
NVDCVE-2026-33278 changed 2026-08-25Public domain