CVEfocus › CVE database › CVE-2023-4236

CVE-2023-4236named may terminate unexpectedly under high DNS-over-TLS query load

CVSS 7.5 HighEPSS 2.2% (higher than 83% of CVEs)Published 2023-09-20Updated 2025-02-13Assigner: isc

A flaw in the networking code handling DNS-over-TLS queries may cause `named` to terminate unexpectedly due to an assertion failure. This happens when internal data structures are incorrectly reused under significant DNS-over-TLS query load. This issue affects BIND 9 versions 9.18.0 through 9.18.18 and 9.18.11-S1 through 9.18.18-S1.

What to do

Fixed builds are available from Alpine, Debian, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

13Fixed
1Fix pending
63Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04bind9Fixed1:9.18.18-0ubuntu2UBUNTU-CVE-2023-4236
Ubuntu 24.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 22.04bind9Fixed1:9.18.12-0ubuntu0.22.04.3UBUNTU-CVE-2023-4236
Ubuntu 22.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 20.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 18.04isc-dhcpNot affected
vulnerable_code_not_present
Ubuntu 16.04bind9Fix pending
Ubuntu 16.04isc-dhcpNot affected
vulnerable_code_not_present
Debian 14bind9Fixed1:9.19.17-1DEBIAN-CVE-2023-4236
Debian 13bind9Fixed1:9.19.17-1DEBIAN-CVE-2023-4236
Debian 12bind9Fixed1:9.18.19-1~deb12u1DEBIAN-CVE-2023-4236
Red Hat Enterprise Linux 9bindNot affected
Red Hat Enterprise Linux 9bind-chrootNot affected
Red Hat Enterprise Linux 9bind-develNot affected
Red Hat Enterprise Linux 9bind-dnssec-docNot affected
Red Hat Enterprise Linux 9bind-dnssec-utilsNot affected
Red Hat Enterprise Linux 9bind-docNot affected
Red Hat Enterprise Linux 9bind-libsNot affected
Red Hat Enterprise Linux 9bind-licenseNot affected
Red Hat Enterprise Linux 9bind-utilsNot affected
Red Hat Enterprise Linux 9python3-bindNot affected
Red Hat Enterprise Linux 8bindNot affected
Red Hat Enterprise Linux 8bind-chrootNot affected
Red Hat Enterprise Linux 8bind-develNot affected
Red Hat Enterprise Linux 8bind-export-develNot affected
Red Hat Enterprise Linux 8bind-export-libsNot affected
Red Hat Enterprise Linux 8bind-libsNot affected
Red Hat Enterprise Linux 8bind-libs-liteNot affected
Red Hat Enterprise Linux 8bind-licenseNot affected
Red Hat Enterprise Linux 8bind-lite-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11Not affected
Red Hat Enterprise Linux 8bind-pkcs11-develNot affected
Red Hat Enterprise Linux 8bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 8bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 8bind-sdbNot affected
Red Hat Enterprise Linux 8bind-sdb-chrootNot affected
Red Hat Enterprise Linux 8bind-utilsNot affected
Red Hat Enterprise Linux 8bind9.16Not affected
Red Hat Enterprise Linux 8bind9.16-chrootNot affected
Red Hat Enterprise Linux 8bind9.16-develNot affected
Red Hat Enterprise Linux 8bind9.16-dnssec-utilsNot affected
Red Hat Enterprise Linux 8bind9.16-docNot affected
Red Hat Enterprise Linux 8bind9.16-libsNot affected
Red Hat Enterprise Linux 8bind9.16-licenseNot affected
Red Hat Enterprise Linux 8bind9.16-utilsNot affected
Red Hat Enterprise Linux 8python3-bindNot affected
Red Hat Enterprise Linux 8python3-bind9.16Not affected
Red Hat Enterprise Linux 7bindNot affected
Red Hat Enterprise Linux 7bind-chrootNot affected
Red Hat Enterprise Linux 7bind-develNot affected
Red Hat Enterprise Linux 7bind-export-develNot affected
Red Hat Enterprise Linux 7bind-export-libsNot affected
Red Hat Enterprise Linux 7bind-libsNot affected
Red Hat Enterprise Linux 7bind-libs-liteNot affected
Red Hat Enterprise Linux 7bind-licenseNot affected
Red Hat Enterprise Linux 7bind-lite-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11Not affected
Red Hat Enterprise Linux 7bind-pkcs11-develNot affected
Red Hat Enterprise Linux 7bind-pkcs11-libsNot affected
Red Hat Enterprise Linux 7bind-pkcs11-utilsNot affected
Red Hat Enterprise Linux 7bind-sdbNot affected
Red Hat Enterprise Linux 7bind-sdb-chrootNot affected
Red Hat Enterprise Linux 7bind-utilsNot affected
Red Hat Enterprise Linux 6bindNot affected
Red Hat Enterprise Linux 6bind-chrootNot affected
Red Hat Enterprise Linux 6bind-develNot affected
Red Hat Enterprise Linux 6bind-libsNot affected
Red Hat Enterprise Linux 6bind-sdbNot affected
Red Hat Enterprise Linux 6bind-utilsNot affected
Alpine Linux 3.24bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.23bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.22bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.21bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.20bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.19bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.18bindFixed9.18.19-r0ALPINE-CVE-2023-4236
Alpine Linux 3.17bindFixed9.18.19-r0ALPINE-CVE-2023-4236

What the vendor says

As published in the CVE record by isc, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Solution: Upgrade to the patched release most closely related to your current version of BIND 9: 9.18.19 or 9.18.19-S1.

Workaround: Disabling listening for DNS-over-TLS connections (by removing `listen-on ... tls ... { ... };` statements from the configuration) prevents the affected code paths from being taken, rendering exploitation impossible. However, there is no workaround for this flaw if DNS-over-TLS support is required.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.