CVE-2023-2828
named's configured cache size limit can be significantly exceeded
Mitigation
- Vendor workaround: No workarounds known.
Who should check
- Anyone running ISC BIND 9 >= 9.11.0, <= 9.16.41; >= 9.18.0, <= 9.18.15; >= 9.19.0, <= 9.19.13; >= 9.11.3-S1, <= 9.16.41-S1; >= 9.18.11-S1, <= 9.18.15-S1
Vulnerability facts
- Affected
- ISC BIND 9 >= 9.11.0, <= 9.16.41; >= 9.18.0, <= 9.18.15; >= 9.19.0, <= 9.19.13; >= 9.11.3-S1, <= 9.16.41-S1; >= 9.18.11-S1, <= 9.18.15-S1
- Fixed in
- No fix listed yet
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 4.18% chance of exploitation in 30 days (percentile 92, 2026-11-26)
- CWE
- CWE-770
- Modified
Description
Every `named` instance configured to run as a recursive resolver maintains a cache database holding the responses to the queries it has recently sent to authoritative servers. The size limit for that cache database can be configured using the `max-cache-size` statement in the configuration file; it defaults to 90% of the total amount of memory available on the host. When the size of the cache reaches 7/8 of the configured limit, a cache-cleaning algorithm starts to remove expired and/or least-recently used RRsets from the cache, to keep memory use below the configured limit. It has been discovered that the effectiveness of the cache-cleaning algorithm used in `named` can be severely diminished by querying the resolver for specific RRsets in a certain order, effectively allowing the configured `max-cache-size` limit to be significantly exceeded. This issue affects BIND 9 versions 9.11.0 through 9.16.41, 9.18.0 through 9.18.15, 9.19.0 through 9.19.13, 9.11.3-S1 through 9.16.41-S1, and 9.18.11-S1 through 9.18.15-S1.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| ISC BIND 9 | >= 9.11.0, <= 9.16.41; >= 9.18.0, <= 9.18.15; >= 9.19.0, <= 9.19.13; >= 9.11.3-S1, <= 9.16.41-S1; >= 9.18.11-S1, <= 9.18.15-S1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-2828. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-2828.md Affected: ISC BIND 9 >= 9.11.0, <= 9.16.41; >= 9.18.0, <= 9.18.15; >= 9.19.0, <= 9.19.13; >= 9.11.3-S1, <= 9.16.41-S1; >= 9.18.11-S1, <= 9.18.15-S1 Fixed in: no fixed version listed yet Steps: 1. Search this machine and project for ISC BIND 9: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Other
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/
- https://www.debian.org/security/2023/dsa-5439
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/
- https://security.netapp.com/advisory/ntap-20230703-0010/
- https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html
FAQ
Is CVE-2023-2828 being exploited?
There is no confirmed exploitation: CVE-2023-2828 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.18% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-2828?
High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-2828?
ISC BIND 9 >= 9.11.0, <= 9.16.41; >= 9.18.0, <= 9.18.15; >= 9.19.0, <= 9.19.13; >= 9.11.3-S1, <= 9.16.41-S1; >= 9.18.11-S1, <= 9.18.15-S1.
Is there a fix for CVE-2023-2828?
No fixed version is listed in the sources yet. Vendor workaround: No workarounds known.
How do I check if I'm affected by CVE-2023-2828?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.