CVE-2026-12244
JSON

8.7high

Heap overflow and crash with crafted SVCB RR

Severity
8.7high CVSS:4.0 by NLnet Labs
Exploit likelihood
0.33% (higher than 27% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
NLnet Labs

Description

If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size > 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes

Affected

Product or packageVersionsReported by
NLnet Labs NSDfrom 4.14.0 before 4.14.3CVE List
nlnetlabs nsdfrom 4.14.0 before 4.14.3NVD

All scores

NLnet Labs8.7high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD8.8high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-122CWE-190

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

What each source says

CVE List

If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size > 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes

NVD (es)

Si NSD está configurado como secundario para una zona, el primario de esa zona puede bloquear NSD con un AXFR que contenga un mensaje DNS con un RR SVCB especialmente diseñado con un tamaño de rdata de 65512, que permite que una variable (uint16_t) utilizada para asignar el espacio necesario para el RR se desborde (porque el tamaño total > 65535), causando un desbordamiento de montículo. El atacante puede realizar una escritura controlada en la cabecera (de clase RCE) de hasta 65509 bytes.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-12244 changed 2026-06-25CVE Terms of Use
NVDCVE-2026-12244 changed 2026-10-25Public domain