Rapid7 Vulnerability & Exploit Database

Red Hat: CVE-2023-6516: bind9: Specific recursive query patterns may lead to an out-of-memory condition (Multiple Advisories)

Free InsightVM Trial No Credit Card Necessary
2024 Attack Intel Report Latest research by Rapid7 Labs
Back to Search

Red Hat: CVE-2023-6516: bind9: Specific recursive query patterns may lead to an out-of-memory condition (Multiple Advisories)



To keep its cache database efficient, `named` running as a recursive resolver occasionally attempts to clean up the database. It uses several methods, including some that are asynchronous: a small chunk of memory pointing to the cache element that can be cleaned up is first allocated and then queued for later processing. It was discovered that if the resolver is continuously processing query patterns triggering this type of cache-database maintenance, `named` may not be able to handle the cleanup events in a timely manner. This in turn enables the list of queued cleanup events to grow infinitely large over time, allowing the configured `max-cache-size` limit to be significantly exceeded. This issue affects BIND 9 versions 9.16.0 through 9.16.45 and 9.16.8-S1 through 9.16.45-S1.


  • redhat-upgrade-bind
  • redhat-upgrade-bind-chroot
  • redhat-upgrade-bind-debuginfo
  • redhat-upgrade-bind-debugsource
  • redhat-upgrade-bind-devel
  • redhat-upgrade-bind-dnssec-doc
  • redhat-upgrade-bind-dnssec-utils
  • redhat-upgrade-bind-dnssec-utils-debuginfo
  • redhat-upgrade-bind-doc
  • redhat-upgrade-bind-dyndb-ldap
  • redhat-upgrade-bind-dyndb-ldap-debuginfo
  • redhat-upgrade-bind-dyndb-ldap-debugsource
  • redhat-upgrade-bind-libs
  • redhat-upgrade-bind-libs-debuginfo
  • redhat-upgrade-bind-license
  • redhat-upgrade-bind-utils
  • redhat-upgrade-bind-utils-debuginfo
  • redhat-upgrade-bind9-16
  • redhat-upgrade-bind9-16-chroot
  • redhat-upgrade-bind9-16-debuginfo
  • redhat-upgrade-bind9-16-debugsource
  • redhat-upgrade-bind9-16-devel
  • redhat-upgrade-bind9-16-dnssec-utils
  • redhat-upgrade-bind9-16-dnssec-utils-debuginfo
  • redhat-upgrade-bind9-16-doc
  • redhat-upgrade-bind9-16-libs
  • redhat-upgrade-bind9-16-libs-debuginfo
  • redhat-upgrade-bind9-16-license
  • redhat-upgrade-bind9-16-utils
  • redhat-upgrade-bind9-16-utils-debuginfo
  • redhat-upgrade-python3-bind
  • redhat-upgrade-python3-bind9-16

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center