Heap-based buffer overflow in NSD - CVE-2026-12244
Published: June 25, 2026
Vulnerability details
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to a heap-based buffer overflow in SVCB RR handling when processing a crafted AXFR response containing a specially crafted SVCB RR. A remote user can send a crafted zone transfer response to execute arbitrary code.
Exploitation requires NSD to be configured as a secondary for a zone, and the malicious input must come from the configured primary for that zone.
Affected software
Fedora
Ubuntu
nsd (Ubuntu package)
nsd
How to mitigate CVE-2026-12244
nsd (Ubuntu package) - addressed in versions 4.1.7-1ubuntu0.1~esm1, 4.1.17-1ubuntu0.1~esm1, 4.1.26-1ubuntu0.1~esm1, 4.3.9-1ubuntu0.1~esm1, 4.8.0-1ubuntu0.1~esm1, 4.14.0-1ubuntu0.1~esm1
nsd - addressed in versions 4.14.3-1.fc43, 4.14.3-1.fc44, 4.15.0-1.el10_3