CVE-2023-3341
A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly
Reported by isc · Published September 20, 2023
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bind | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-libs | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-dlz-ldap | Amazon Linux | 32:9.16.42-1.amzn2023.0.5 |
| python3-bind | Amazon Linux | 32:9.16.42-1.amzn2023.0.5 |
| bind-dlz-sqlite3 | Amazon Linux | 32:9.16.42-1.amzn2023.0.5 |
| bind-devel | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-pkcs11 | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-chroot | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-libs-lite | Amazon Linux | 32:9.11.4-26.P2.amzn2.13.5 |
| bind-sdb | Amazon Linux | 32:9.11.4-26.P2.amzn2.13.5 |
| bind-pkcs11-utils | Amazon Linux | 32:9.16.42-1.amzn2023.0.5, 32:9.11.4-26.P2.amzn2.13.5 |
| bind-dlz-mysql | Amazon Linux | 32:9.16.42-1.amzn2023.0.5 |
15 more packages have a fixed version. See every fix in Lookup.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ISC | BIND 9 | 9.2.0, 9.18.0, 9.19.0 |
| amazon:2 | bind | 0 |
| amazon:2023 | bind-libs | 0 |
| amazon:2023 | bind-dlz-ldap | 0 |
| amazon:2023 | python3-bind | 0 |
| amazon:2023 | bind-dlz-sqlite3 | 0 |
| amazon:2 | bind-devel | 0 |
| amazon:2023 | bind-pkcs11 | 0 |
| amazon:2 | bind-pkcs11 | 0 |
| amazon:2023 | bind-chroot | 0 |
| amazon:2 | bind-libs-lite | 0 |
| amazon:2 | bind-sdb | 0 |
| amazon:2 | bind-libs | 0 |
| amazon:2 | bind-pkcs11-utils | 0 |
| amazon:2023 | bind-dlz-mysql | 0 |
| amazon:2 | bind-chroot | 0 |
| amazon:2023 | bind-pkcs11-utils | 0 |
| amazon:2 | bind-export-libs | 0 |
| amazon:2 | bind-utils | 0 |
| amazon:2023 | bind-doc | 0 |
…and 17 more
Timeline
- Sep 20, 2023 CVE Published
- Sep 22, 2023 EPSS Score (30 in total, the first dated here)
- Dec 2, 2025 CVE Updated
- Feb 15, 2026 Distribution Patch (14 in total, the first dated here)
- Feb 15, 2026 Security Advisory (15 in total, the first dated here)
- Aug 9, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-3341
vulnetix vdb fixes CVE-2023-3341
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-3341/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- CVE-2023-3341 vendor-advisory