CVE-2023-3341 | A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly

The code that processes control channel messages sent to `named` calls certain functions recursively during packet parsing. Recursion depth is only limited by the maximum accepted packet size; depending on the environment, this may cause the packet-parsing code to run out of available stack memory, causing `named` to terminate unexpectedly. Since each incoming control channel message is fully parsed before its contents are authenticated, exploiting this flaw does not require the attacker to hold a valid RNDC key; only network access to the control channel's configured TCP port is necessary. This issue affects BIND 9 versions 9.2.0 through 9.16.43, 9.18.0 through 9.18.18, 9.19.0 through 9.19.16, 9.9.3-S1 through 9.16.43-S1, and 9.18.0-S1 through 9.18.18-S1.

Published: 2023-09-20 Last update: 2025-12-02 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-3341 is rated Moderate Risk (61.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 2.63%). Core evidence: EPSS rose +2.44% over the last day, indicating growing attacker interest. Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-3341

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 0.19% 2.63% +2.44%
2 2025-12-28 0.14% 0.19% +0.05%
3 2025-12-27 0.14%

Full EPSS history (29 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-3341

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.5 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 3.6 [email protected]

Weakness enumeration for CVE-2023-3341

OS Trackers for CVE-2023-3341

vendor priority summary link
alpine CVE-2023-3341: 1 source package rows (bind); 139 state rows across 7 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 7, open 132. https://security.alpinelinux.org/vuln/CVE-2023-3341
debian not yet assigned CVE-2023-3341 not yet assigned priority: Debian including 1 source packages (bind9), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2023-3341
redhat high https://access.redhat.com/security/cve/CVE-2023-3341
suse high https://www.suse.com/security/cve/CVE-2023-3341/
ubuntu medium CVE-2023-3341 medium priority: Ubuntu including 2 source packages (bind9, isc-dhcp), 22 status rows across 11 suites (bionic, focal, jammy, lunar, mantic, noble, oracular, plucky, trusty, upstream, xenial): released 11, not-affected 10, needs-triage 1. https://ubuntu.com/security/CVE-2023-3341

Affected software / configurations for CVE-2023-3341

Vendor Product Version Raw CPE
isc bind >= 9.2.0, < 9.16.44 cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
isc bind >= 9.18.0, < 9.18.19 cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
isc bind >= 9.19.0, < 9.19.17 cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*
isc bind 9.9.3 cpe:2.3:a:isc:bind:9.9.3:s1:*:*:supported_preview:*:*:*
isc bind 9.9.12 cpe:2.3:a:isc:bind:9.9.12:s1:*:*:supported_preview:*:*:*
isc bind 9.9.13 cpe:2.3:a:isc:bind:9.9.13:s1:*:*:supported_preview:*:*:*
isc bind 9.10.5 cpe:2.3:a:isc:bind:9.10.5:s1:*:*:supported_preview:*:*:*
isc bind 9.10.7 cpe:2.3:a:isc:bind:9.10.7:s1:*:*:supported_preview:*:*:*
isc bind 9.11.3 cpe:2.3:a:isc:bind:9.11.3:s1:*:*:supported_preview:*:*:*
isc bind 9.11.3 cpe:2.3:a:isc:bind:9.11.3:s4:*:*:supported_preview:*:*:*
isc bind 9.11.4 cpe:2.3:a:isc:bind:9.11.4:s1:*:*:supported_preview:*:*:*
isc bind 9.11.5 cpe:2.3:a:isc:bind:9.11.5:s3:*:*:supported_preview:*:*:*
isc bind 9.11.5 cpe:2.3:a:isc:bind:9.11.5:s5:*:*:supported_preview:*:*:*
isc bind 9.11.5 cpe:2.3:a:isc:bind:9.11.5:s6:*:*:supported_preview:*:*:*
isc bind 9.11.6 cpe:2.3:a:isc:bind:9.11.6:s1:*:*:supported_preview:*:*:*
isc bind 9.11.7 cpe:2.3:a:isc:bind:9.11.7:s1:*:*:supported_preview:*:*:*
isc bind 9.11.8 cpe:2.3:a:isc:bind:9.11.8:s1:*:*:supported_preview:*:*:*
isc bind 9.11.12 cpe:2.3:a:isc:bind:9.11.12:s1:*:*:supported_preview:*:*:*
isc bind 9.11.21 cpe:2.3:a:isc:bind:9.11.21:s1:*:*:supported_preview:*:*:*
isc bind 9.11.27 cpe:2.3:a:isc:bind:9.11.27:s1:*:*:supported_preview:*:*:*
isc bind 9.11.29 cpe:2.3:a:isc:bind:9.11.29:s1:*:*:supported_preview:*:*:*
isc bind 9.11.35 cpe:2.3:a:isc:bind:9.11.35:s1:*:*:supported_preview:*:*:*
isc bind 9.11.37 cpe:2.3:a:isc:bind:9.11.37:s1:*:*:supported_preview:*:*:*
isc bind 9.16.8 cpe:2.3:a:isc:bind:9.16.8:s1:*:*:supported_preview:*:*:*
isc bind 9.16.11 cpe:2.3:a:isc:bind:9.16.11:s1:*:*:supported_preview:*:*:*
isc bind 9.16.12 cpe:2.3:a:isc:bind:9.16.12:s1:*:*:supported_preview:*:*:*
isc bind 9.16.13 cpe:2.3:a:isc:bind:9.16.13:s1:*:*:supported_preview:*:*:*
isc bind 9.16.14 cpe:2.3:a:isc:bind:9.16.14:s1:*:*:supported_preview:*:*:*
isc bind 9.16.21 cpe:2.3:a:isc:bind:9.16.21:s1:*:*:supported_preview:*:*:*
isc bind 9.16.32 cpe:2.3:a:isc:bind:9.16.32:s1:*:*:supported_preview:*:*:*
isc bind 9.16.36 cpe:2.3:a:isc:bind:9.16.36:s1:*:*:supported_preview:*:*:*
isc bind 9.16.43 cpe:2.3:a:isc:bind:9.16.43:s1:*:*:supported_preview:*:*:*
isc bind 9.18.0 cpe:2.3:a:isc:bind:9.18.0:s1:*:*:supported_preview:*:*:*
isc bind 9.18.18 cpe:2.3:a:isc:bind:9.18.18:s1:*:*:supported_preview:*:*:*
fedoraproject fedora 37 cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
fedoraproject fedora 38 cpe:2.3:o:fedoraproject:fedora:38:*:*:*:*:*:*:*
debian debian_linux 10.0 cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
debian debian_linux 11.0 cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:*

References for CVE-2023-3341

cvelogic Threat Intelligence