Stack-based buffer overflow in NSD - CVE-2026-12246
Published: June 25, 2026
NSD
Detailed vulnerability description
The vulnerability allows a remote user to execute arbitrary code.
The vulnerability exists due to a stack-based buffer overflow in the APL RR rdata handling logic when writing a zonefile to disk. A remote user can provide a specially crafted APL resource record with an oversized adflength value to execute arbitrary code.
Exploitation requires control of data from a configured primary in a multi-tenant secondary DNS deployment.