{"id":"CVE-2023-3341","aliases":["CVE-2023-3341"],"related":[],"kind":"vulnerability","state":"published","title":"A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly","summary":"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.\nThis 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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.\nThis 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.","source":"cvelist"},{"lang":"es","text":"El código que procesa los mensajes del canal de control enviados a \"named\" llama a ciertas funciones de forma recursiva durante el análisis de paquetes. La profundidad de la recursividad sólo está limitada por el tamaño máximo de paquete aceptado; Dependiendo del entorno, esto puede provocar que el código de análisis de paquetes se quede sin memoria disponible, lo que provocará que \"named\" finalice inesperadamente. Dado que cada mensaje entrante del canal de control se analiza completamente antes de autenticar su contenido, explotar esta falla no requiere que el atacante tenga una clave RNDC válida; sólo es necesario el acceso de red al puerto TCP configurado del canal de control. Este problema afecta a las versiones de BIND 9, 9.2.0 a 9.16.43, 9.18.0 a 9.18.18, 9.19.0 a 9.19.16, 9.9.3-S1 a 9.16.43-S1 y 9.18.0-S1 a 9.18. .18-S1.","source":"nvd"}],"published":"2023-09-20T12:32:03.073Z","modified":"2026-06-17T06:13:51.253Z","severity":{"scorer":"isc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"isc","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-787","CWE-1325"],"affected":[{"ranges":[{"type":"custom","introduced":"9.2.0","lastAffected":"9.16.43","status":"affected"},{"type":"custom","introduced":"9.18.0","lastAffected":"9.18.18","status":"affected"},{"type":"custom","introduced":"9.19.0","lastAffected":"9.19.16","status":"affected"},{"type":"custom","introduced":"9.9.3-S1","lastAffected":"9.16.43-S1","status":"affected"},{"type":"custom","introduced":"9.18.0-S1","lastAffected":"9.18.18-S1","status":"affected"}],"vendor":"ISC","product":"BIND 9","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"9.2.0","fixed":"9.16.44"},{"status":"affected","introduced":"9.18.0","fixed":"9.18.19"},{"status":"affected","introduced":"9.19.0","fixed":"9.19.17"},{"status":"affected","version":"9.9.3"},{"status":"affected","version":"9.9.12"},{"status":"affected","version":"9.9.13"},{"status":"affected","version":"9.10.5"},{"status":"affected","version":"9.10.7"},{"status":"affected","version":"9.11.3"},{"status":"affected","version":"9.11.3"},{"status":"affected","version":"9.11.4"},{"status":"affected","version":"9.11.5"},{"status":"affected","version":"9.11.5"},{"status":"affected","version":"9.11.5"},{"status":"affected","version":"9.11.6"},{"status":"affected","version":"9.11.7"},{"status":"affected","version":"9.11.8"},{"status":"affected","version":"9.11.12"},{"status":"affected","version":"9.11.21"},{"status":"affected","version":"9.11.27"},{"status":"affected","version":"9.11.29"},{"status":"affected","version":"9.11.35"},{"status":"affected","version":"9.11.37"},{"status":"affected","version":"9.16.8"},{"status":"affected","version":"9.16.11"},{"status":"affected","version":"9.16.12"},{"status":"affected","version":"9.16.13"},{"status":"affected","version":"9.16.14"},{"status":"affected","version":"9.16.21"},{"status":"affected","version":"9.16.32"},{"status":"affected","version":"9.16.36"},{"status":"affected","version":"9.16.43"},{"status":"affected","version":"9.18.0"},{"status":"affected","version":"9.18.18"}],"vendor":"isc","product":"bind","cpe":"cpe:2.3:a:isc:bind:*:*:*:*:-:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"37"},{"status":"affected","version":"38"}],"vendor":"fedoraproject","product":"fedora","cpe":"cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"},{"status":"affected","version":"11.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://kb.isc.org/docs/cve-2023-3341","tags":["vendor-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2023/09/20/2","tags":["mailing-list","patch","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://www.debian.org/security/2023/dsa-5504","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IPJLLTJCSDJJII7IIZPLTBQNWP7MZH7F/","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U35OARLQCPMVCBBPHWBXY5M6XJLD2TZ5/","tags":["mailing-list","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20231013-0003/","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VSK5V4W4OHPM3JTJGWAQD6CZW7SFD75B/","tags":["mailing-list","third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/01/msg00021.html","tags":["third-party-advisory","x-transferred"],"sources":["cvelist","nvd"]}],"credits":["ISC would like to thank Eric Sesterhenn from X41 D-Sec GmbH for bringing this vulnerability to our attention."],"assigner":"isc","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-06-03T16:03:26.539Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-3341","url":"https://www.cve.org/CVERecord?id=CVE-2023-3341","licence":"CVE Terms of Use","modified":"2025-12-02T20:15:58.967Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-3341","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-3341","licence":"Public domain","modified":"2026-06-17T06:13:51.253Z"}],"updatedAt":"2026-11-25T22:58:28.016Z","epss":{"score":0.02934,"percentile":0.87477,"date":"2026-12-02T12:00:21.000Z"}}