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

- Severity: High 7.5 (CVSS:3.1, scored by isc) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.93%, higher than 87% of CVEs (2026-12-02)
- Published: 2023-09-20T12:32:03.073Z
- Modified: 2026-06-17T06:13:51.253Z
- Weaknesses: CWE-787, CWE-1325
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: isc

## Description

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.

(As written by CVE List.)

## Affected

- ISC BIND 9: from 9.2.0 up to 9.16.43; from 9.18.0 up to 9.18.18; from 9.19.0 up to 9.19.16; from 9.9.3-S1 up to 9.16.43-S1; from 9.18.0-S1 up to 9.18.18-S1
- isc bind: from 9.2.0 before 9.16.44; from 9.18.0 before 9.18.19; from 9.19.0 before 9.19.17; 9.9.3; 9.9.12; 9.9.13; 9.10.5; 9.10.7; 9.11.3; 9.11.4; 9.11.5; 9.11.6; and 19 more
- fedoraproject fedora: 37; 38
- debian debian_linux: 10.0; 11.0

## References

- <https://kb.isc.org/docs/cve-2023-3341> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2023/09/20/2> (mailing-list, patch)
- <https://www.debian.org/security/2023/dsa-5504> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IPJLLTJCSDJJII7IIZPLTBQNWP7MZH7F/> (mailing-list)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U35OARLQCPMVCBBPHWBXY5M6XJLD2TZ5/> (mailing-list)
- <https://security.netapp.com/advisory/ntap-20231013-0003/> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSK5V4W4OHPM3JTJGWAQD6CZW7SFD75B/> (mailing-list, third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2024/01/msg00021.html> (third-party-advisory)

## Sources

- CVE List: [CVE-2023-3341](https://www.cve.org/CVERecord?id=CVE-2023-3341), CVE Terms of Use, modified 2025-12-02
- NVD: [CVE-2023-3341](https://nvd.nist.gov/vuln/detail/CVE-2023-3341), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-3341 · Whole record: https://cve.day/CVE-2023-3341.json · Rebuilt by cve.day 2026-11-25T22:58:28.016Z
