CVE-2023-3341

A stack exhaustion flaw in control channel code may cause named to terminate unexpectedly

State
Published
Severity
7.5 High
Published
Sep 20, 2023
Updated
Dec 2, 2025
Reserved
Jun 20, 2023

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hisc

Weaknesses

  • CWE-1325 Improperly Controlled Sequential Memory Allocation

Affected Products

ProductVersions
BIND 9ISC
  • 9.2.0 through 9.16.43Affected
  • 9.18.0 through 9.18.18Affected
  • 9.19.0 through 9.19.16Affected
  • 9.9.3-S1 through 9.16.43-S1Affected
  • 9.18.0-S1 through 9.18.18-S1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.