cve.bz

CVE-2023-3341 Out-of-bounds Write

7.5 highEPSS 2.9%Fix available

High (7.5). EPSS 2.9% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.9% (unchanged from 2.9% a week ago; 3.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 87th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2025-06-03. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-787 Out-of-bounds Write
CWE-1325 Improperly Controlled Sequential Memory Allocation
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2023-3341 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2023-3341?via=ask-ai-copy and https://cve.bz/cve/CVE-2023-3341?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2023-3341 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
ISC BIND 9from 9.2.0 through 9.16.43
ISC BIND 9from 9.18.0 through 9.18.18
ISC BIND 9from 9.19.0 through 9.19.16
ISC BIND 9from 9.9.3-S1 through 9.16.43-S1
ISC BIND 9from 9.18.0-S1 through 9.18.18-S1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10bind91:9.11.5.P4+dfsg-5.1+deb10u10DLA-3726-1
Debian11bind91:9.16.44-1~deb11u1DSA-5504-1
Debian12bind91:9.18.19-1~deb12u1DEBIAN-CVE-2023-3341 DSA-5504-1
Debian13, 14bind91:9.19.17-1DEBIAN-CVE-2023-3341
Ubuntu20.04:LTSbind91:9.16.1-0ubuntu2.16UBUNTU-CVE-2023-3341 USN-6390-1
Ubuntu22.04:LTSbind91:9.18.12-0ubuntu0.22.04.3UBUNTU-CVE-2023-3341 USN-6390-1
Ubuntu24.04:LTSbind91:9.18.18-0ubuntu2UBUNTU-CVE-2023-3341
UbuntuPro:14.04:LTSbind91:9.9.5.dfsg-3ubuntu0.19+esm11UBUNTU-CVE-2023-3341 USN-6421-1
UbuntuPro:16.04:LTSbind91:9.10.3.dfsg.P4-8ubuntu1.19+esm7UBUNTU-CVE-2023-3341 USN-6421-1
UbuntuPro:18.04:LTSbind91:9.11.3+dfsg-1ubuntu1.19+esm2UBUNTU-CVE-2023-3341 USN-6421-1
Red Hatenterprise_linux:7::client, enterprise_linux:7::server, enterprise_linux:7::workstationbind, bind-sdb, bind-libs and 14 more32:9.11.4-26.P2.el7_9.15RHSA-2023:5691
Red Hatenterprise_linux:7::computenodebind, bind-sdb, bind-devel and 9 more32:9.11.4-26.P2.el7_9.15RHSA-2023:5691
Red Hatenterprise_linux:8::appstreambind, bind-sdb, bind-libs and 22 more32:9.11.36-8.el8_8.2RHSA-2023:5474
Red Hatenterprise_linux:8::appstreambind9.16, bind9.16-libs, bind9.16-utils and 9 more32:9.16.23-0.14.el8_8.2RHSA-2023:5460
Red Hatenterprise_linux:8::baseosbind, bind-debuginfo, bind-debugsource and 10 more32:9.11.36-8.el8_8.2RHSA-2023:5474
Red Hatenterprise_linux:8::crbbind9.16-doc, bind9.16-libs, bind9.16-devel and 5 more32:9.16.23-0.14.el8_8.2RHSA-2023:5460
Red Hatenterprise_linux:9::appstreambind, bind-libs, bind-utils and 10 more32:9.16.23-11.el9_2.2RHSA-2023:5689
Red Hatenterprise_linux:9::crbbind-doc, bind-libs, bind-devel and 5 more32:9.16.23-11.el9_2.2RHSA-2023:5689
Red Hatrhel_aus:8.2::appstream, rhel_e4s:8.2::appstream, rhel_tus:8.2::appstreambind, bind-sdb, bind-libs and 22 more32:9.11.13-6.el8_2.6RHSA-2023:5527
Red Hatrhel_aus:8.2::baseos, rhel_e4s:8.2::baseos, rhel_tus:8.2::baseosbind, bind-debuginfo, bind-debugsource and 10 more32:9.11.13-6.el8_2.6RHSA-2023:5527
Red Hatrhel_aus:8.4::appstream, rhel_e4s:8.4::appstream, rhel_tus:8.4::appstreambind, bind-sdb, bind-libs and 22 more32:9.11.26-4.el8_4.3RHSA-2023:5529
Red Hatrhel_aus:8.4::baseos, rhel_e4s:8.4::baseos, rhel_tus:8.4::baseosbind, bind-debuginfo, bind-debugsource and 10 more32:9.11.26-4.el8_4.3RHSA-2023:5529
10 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morebind9.16.6-150300.22.41.1SUSE-SU-2023:3934-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS, Linux Enterprise Server 15 SP1-LTSS and 4 morebind9.16.6-150000.12.71.1SUSE-SU-2023:3805-1
SUSELinux Enterprise Module for Basesystem 15 SP4, Linux Enterprise Module for Server Applications 15 SP4bind9.16.44-150400.5.37.2SUSE-SU-2023:3737-1
SUSELinux Enterprise Module for Basesystem 15 SP5, Linux Enterprise Module for Server Applications 15 SP5bind9.16.44-150500.8.12.2SUSE-SU-2023:3821-1
SUSELinux Enterprise Server 12 SP5, Linux Enterprise Server for SAP Applications 12 SP5, Linux Enterprise Software Development Kit 12 SP5bind9.11.22-3.49.1SUSE-SU-2023:3796-1
openSUSELeap 15.4bind9.16.44-150400.5.37.2SUSE-SU-2023:3737-1
openSUSELeap 15.4bind9.16.6-150000.12.71.1SUSE-SU-2023:3805-1
openSUSELeap 15.5bind9.16.44-150500.8.12.2SUSE-SU-2023:3821-1
openSUSETumbleweedbind9.18.19-1.1openSUSE-SU-2024:13249-1
AlmaLinux8bind, bind-sdb, bind-libs and 14 more32:9.11.36-8.el8_8.2ALSA-2023:5474
AlmaLinux8bind9.16, bind9.16-doc, bind9.16-libs and 6 more32:9.16.23-0.14.el8_8.2.alma.1ALSA-2023:5460
AlmaLinux9bind, bind-doc, bind-libs and 7 more32:9.16.23-11.el9_2.2ALSA-2023:5689
Rocky Linux9bind2:9.16.23-11.el9_2.2RLSA-2023:5689
Alpinev3.15, v3.16bind9.16.44-r0ALPINE-CVE-2023-3341
Alpinev3.17, v3.18, v3.19 and 5 morebind9.18.19-r0ALPINE-CVE-2023-3341
Azure Linux2bind9.16.44-1AZL-29943
Azure Linux3bind9.16.44-1AZL-34562
Alpaquita23bind9.18.19-r0BELL-CVE-2023-3341
Alpaquitastreambind9.18.18-r0BELL-CVE-2023-3341

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine · Alpaquita.

Red Hat

Red Hat rates this Important.

Red Hat's statement

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.

Red Hat's mitigation

By default, named only allows control-channel connections over the loopback interface, making this attack impossible to carry out over the network. When enabling remote access to the control channel’s configured TCP port, care should be taken to limit such access to trusted IP ranges on the network level, effectively preventing unauthorized parties from carrying out the attack described in this advisory.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONbind-32:9.8.2-0.68.rc1.el6_10.14Fixed 2025-01-06RHSA-2025:0039
Red Hat Enterprise Linux 6 Extended Lifecycle Support - EXTENSIONbind-dyndb-ldap-0:2.3-8.el6_10.1Fixed 2025-01-06RHSA-2025:0039
Red Hat Enterprise Linux 7bind-32:9.11.4-26.P2.el7_9.15Fixed 2023-10-12RHSA-2023:5691
Red Hat Enterprise Linux 8bind9.16-32:9.16.23-0.14.el8_8.2Fixed 2023-10-05RHSA-2023:5460
Red Hat Enterprise Linux 8bind-32:9.11.36-8.el8_8.2Fixed 2023-10-05RHSA-2023:5474
Red Hat Enterprise Linux 8.1 Update Services for SAP Solutionsbind-32:9.11.4-26.P2.el8_1.8Fixed 2023-10-09RHSA-2023:5526
Red Hat Enterprise Linux 8.2 Advanced Update Supportbind-32:9.11.13-6.el8_2.6Fixed 2023-10-09RHSA-2023:5527
Red Hat Enterprise Linux 8.2 Telecommunications Update Servicebind-32:9.11.13-6.el8_2.6Fixed 2023-10-09RHSA-2023:5527
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutionsbind-32:9.11.13-6.el8_2.6Fixed 2023-10-09RHSA-2023:5527
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Supportbind-32:9.11.26-4.el8_4.3Fixed 2023-10-09RHSA-2023:5529
Red Hat Enterprise Linux 8.4 Telecommunications Update Servicebind-32:9.11.26-4.el8_4.3Fixed 2023-10-09RHSA-2023:5529
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutionsbind-32:9.11.26-4.el8_4.3Fixed 2023-10-09RHSA-2023:5529
Red Hat Enterprise Linux 8.6 Extended Update Supportbind-32:9.11.36-3.el8_6.5Fixed 2023-10-05RHSA-2023:5473
Red Hat Enterprise Linux 8.6 Extended Update Supportbind9.16-32:9.16.23-0.7.el8_6.3Fixed 2023-10-17RHSA-2023:5771
Red Hat Enterprise Linux 9bind-32:9.16.23-11.el9_2.2Fixed 2023-10-12RHSA-2023:5689
Red Hat Enterprise Linux 9.0 Extended Update Supportbind-32:9.16.23-1.el9_0.3Fixed 2023-10-12RHSA-2023:5690

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2023-3341.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-25-105-08ABB M2M Gateway2025-04-07EnergyABB M2M Gateway ARM600, firmware versions = 4.1.2 <= 5.0.3, ABB M2M Gateway SW, software versions = 5.0.1 <= 5.0.3none listed
ICSA-24-319-08Siemens SINEC INS2024-11-12MultipleSINEC INSnone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-130 Excessive Allocation Likelihood: Medium · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON