]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.18] [CVE-2026-3592] sec: usr: Limit resolver server list size
authorColin Vidal <colin@isc.org>
Thu, 30 Apr 2026 18:49:35 +0000 (20:49 +0200)
committerMichał Kępień <michal@isc.org>
Thu, 7 May 2026 11:21:59 +0000 (13:21 +0200)
commit5abfbc2663023e0c6f2a08ee6a7986f2a404f2f6
tree2a08b9f693971137c659136771f827057c157f03
parent43d173797e3c781c7e38d879c3c765f01cc09c59
parentcb13dcabdb64bdb5f8f7ed33980aaf470a90e877
[9.18] [CVE-2026-3592] sec: usr: Limit resolver server list size

When resolving a domain with many nameservers that share overlapping IP addresses (e.g., 10 NS records all pointing at the same set of addresses), BIND could previously waste time querying duplicate addresses and build up excessively large server lists. Deduplicate addresses in the resolver's server list so that each unique IP is only queried once per resolution attempt, regardless of how many NS records point to it and cap the number of addresses stored per nameserver name to 6 (combined A and AAAA), preventing memory and CPU overhead from domains with unusually large NS/glue sets.

Closes isc-projects/bind9#5641

Backport of !909

Merge branch 'backport-5641-selfpointedglue-9.18' into 'security-bind-9.18'

See merge request isc-private/bind9!954