]> git.ipfire.org Git - thirdparty/bind9.git/commit
[9.16] [CVE-2026-3592] sec: usr: Limit resolver server list size
authorColin Vidal <colin@isc.org>
Thu, 30 Apr 2026 18:49:41 +0000 (20:49 +0200)
committerColin Vidal <colin@isc.org>
Thu, 30 Apr 2026 18:49:41 +0000 (20:49 +0200)
commit42fb4c1b7d7381ec8019f9f668d8ee2157b408a3
tree20f2f800554ab98d00b0caed4f0b98b678c25c4b
parent379ca10cf34759d0c007cebcd9280911161bca1a
parent5d7f468c7784d8806e230b784f5e63cb4c6c76ce
[9.16] [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.16' into 'security-bind-9.16'

See merge request isc-private/bind9!956