Description
ISC BIND 9 through 9.5.0a5 uses a weak random number generator during generation of DNS query ids when answering resolver questions or sending NOTIFY messages to slave name servers, which makes it easier for remote attackers to guess the next query id and perform DNS cache poisoning.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | bind9 | 1:9.4.1-P1-1 | — |
| Debian 13 | bind9 | 1:9.4.1-P1-1 | — |
| Debian 12 | bind9 | 1:9.4.1-P1-1 | — |
| Debian 4.0 | bind9 | 1:9.3.4-2etch1 | DSA-1341-2 |
| Debian 3.1 | bind9 | 1:9.2.4-1sarge3 | DSA-1341-2 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 5 | bind +7 | 30:9.3.3-9.0.1.el5 | RHSA-2007:0740 |
| RHEL 4 | bind +4 | 20:9.2.4-27.0.1.el4 | RHSA-2007:0740 |
| RHEL 3 | bind +4 | 20:9.2.4-21.el3 | RHSA-2007:0740 |
| RHEL 2 | bind +2 | 9.2.1-9.el2 | RHSA-2007:0740 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | bind | 9.16.20-1.4 | openSUSE-SU-2024:10650-1 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
Exploit-DB 1
- BIND 9 0.3beta - DNS Cache Poisoning EDB-4266 · remote · Aug 7, 2007 · verified
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Advisories 3
- RHSA-2007:0740 Red Hat Security Advisory: bind security update Red Hat Security Advisories (RHSA) · Jun 26, 2026
- DSA-1341-2 bind9 - DNS cache poisoning vulnerability Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:10650-1 bind-9.16.20-1.4 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
References
- http://support.avaya.com/elmodocs2/security/ASA-2007-389.htm
- http://www.trusteer.com/docs/bind9dns_s.html
- 26231 third-party-advisory
- ADV-2007-2932 vdb-entry
- HPSBOV03226 vendor-advisory
- 26847 third-party-advisory
- IZ02218 vendor-advisory
- ADV-2007-2914 vdb-entry
- RHSA-2007:0740 vendor-advisory
- 26217 third-party-advisory
- 26509 third-party-advisory
- HPSBOV02261 vendor-advisory
- 26444 vdb-entry
- http://www.securiteam.com/securitynews/5VP0L0UM0A.html
- HPSBUX02251 vendor-advisory
- 26605 third-party-advisory
- 103018 vendor-advisory
- MDKSA-2007:149 vendor-advisory
- 26607 third-party-advisory
- 20070727 Re: "BIND 9 DNS Cache Poisoning" by Amit Klein (Trusteer) mailing-list
- 26148 third-party-advisory
- FreeBSD-SA-07:07 vendor-advisory
- VU#252735 third-party-advisory
- http://www.trusteer.com/docs/bind9dns.html
- 26180 third-party-advisory
- GLSA-200708-13 vendor-advisory
- 26152 third-party-advisory
- 2007-0023 vendor-advisory
- http://support.nortel.com/go/main.jsp?cscat=BLTNDETAIL&id=623903
- SSA:2007-207-01 vendor-advisory
- APPLE-SA-2007-11-14 vendor-advisory
- http://docs.info.apple.com/article.html?artnum=307041
- 20070724 "BIND 9 DNS Cache Poisoning" by Amit Klein (Trusteer) mailing-list
- http://www.isc.org/index.pl?/sw/bind/bind-security.php
- IZ02219 vendor-advisory
- isc-bind-queryid-spoofing(35575) vdb-entry
- ADV-2007-2782 vdb-entry
- 26227 third-party-advisory
- 26261 third-party-advisory
- ADV-2007-3868 vdb-entry
- 25037 vdb-entry
- 26515 third-party-advisory
- USN-491-1 vendor-advisory
- 26330 third-party-advisory
- https://issues.rpath.com/browse/RPL-1587
- HPSBTU02256 vendor-advisory
- 1018442 vdb-entry
- DSA-1341 vendor-advisory
- 26308 third-party-advisory
- SUSE-SA:2007:047 vendor-advisory
- ADV-2007-2627 vdb-entry
- oval:org.mitre.oval:def:2226 vdb-entry signature
- 27643 third-party-advisory
- 26236 third-party-advisory
- ADV-2007-2662 vdb-entry
- 26195 third-party-advisory
- ADV-2007-3242 vdb-entry
- oval:org.mitre.oval:def:10293 vdb-entry signature
- OpenPKG-SA-2007.022 vendor-advisory
- TA07-319A third-party-advisory