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 package | Versions | Reported by |
|---|---|---|
| NLnet Labs NSD | from 4.14.0 before 4.14.3 | CVE List |
| nlnetlabs nsd | from 4.14.0 before 4.14.3 | NVD |
All scores
| NLnet Labs | 8.7high CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| NVD | 8.8high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Classification
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
| https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-12244.txt | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-12244 changed 2026-06-25 | CVE Terms of Use |
| NVD | CVE-2026-12244 changed 2026-10-25 | Public domain |