BIND 9 DoH flaw lets attackers crash servers and leak heap data
Vulnerability Disclosure · 2 sources · Updated 4mo ago · First seen May 20, 2026

ISC disclosed CVE-2026-3593, a heap use-after-free flaw in BIND 9's DNS-over-HTTPS implementation that can be triggered remotely without authentication by flooding a DoH endpoint with crafted HTTP/2 SETTINGS frames while a response is being written. The bug occurs in server_read_callback, where data is read from socket->h2->wbuf after the associated ns_client_t memory has already been freed through http_writecb and isc_nmhandle_detach, creating a race condition in affected DoH deployments.
Successful exploitation can crash the named process and cause denial of service, and ISC's issue report says freed heap data may also be copied into HTTP/2 response data and returned to the attacker over TLS, creating an information disclosure risk. The vulnerability affects BIND 9 9.20.0 through 9.20.22, 9.21.0 through 9.21.21, and Supported Preview Edition 9.20.9 S1 through 9.20.22 S1 when DoH is enabled; non-DoH configurations are not affected. Fixes are available in 9.20.23, 9.21.22, and 9.20.23 S1, and the issue is tracked as CWE-416 with a CVSS 7.4 score after an earlier code-execution claim was withdrawn.


