# CVE-2023-2828: named's configured cache size limit can be significantly exceeded

- 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): 3.70%, higher than 90% of CVEs (2026-12-01)
- Published: 2023-06-21T16:26:07.096Z
- Modified: 2026-10-24T19:10:00.127Z
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: isc

## 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.

(As written by CVE List.)

## Affected

- ISC BIND 9: from 9.11.0 up to 9.16.41; from 9.18.0 up to 9.18.15; from 9.19.0 up to 9.19.13; from 9.11.3-S1 up to 9.16.41-S1; from 9.18.11-S1 up to 9.18.15-S1
- isc bind: from 9.11.0 up to 9.16.41; from 9.11.3 up to 9.16.41; from 9.18.0 up to 9.18.15; from 9.18.11 up to 9.18.15; from 9.19.0 up to 9.19.13
- debian debian_linux: 10.0; 11.0; 12.0
- fedoraproject fedora: 37; 38
- netapp active_iq_unified_manager: no versions given
- netapp h500s_firmware: no versions given
- netapp h700s_firmware: no versions given
- netapp h410s_firmware: no versions given
- netapp h410c_firmware: no versions given
- netapp h300s_firmware: no versions given

## References

- <https://kb.isc.org/docs/cve-2023-2828> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2023/06/21/6> (mailing-list, patch, third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/U3K6AJK7RRSR53HRF5GGKPA6PDUDWOD2/> (mailing-list, third-party-advisory)
- <https://www.debian.org/security/2023/dsa-5439> (third-party-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SEFCEVCTYEMKTWA7V7EYPI5YQQ4JWDLI/> (mailing-list, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230703-0010/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/07/msg00021.html> (mailing-list, third-party-advisory)

## Sources

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

---

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