CVE-2025-40780
Cache poisoning due to weak PRNG
Reported by isc · Published October 22, 2025
In specific circumstances, due to a weakness in the Pseudo Random Number Generator (PRNG) that is used, it is possible for an attacker to predict the source port and query ID that BIND will use. This issue affects BIND 9 versions 9.16.0 through 9.16.50, 9.18.0 through 9.18.39, 9.20.0 through 9.20.13, 9.21.0 through 9.21.12, 9.16.8-S1 through 9.16.50-S1, 9.18.11-S1 through 9.18.39-S1, and 9.20.9-S1 through 9.20.13-S1.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bind-license | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind-chroot | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind | Alpine | 9.20.15-r0, 9.18.41-r0 |
| bind | Wolfi | 9.20.16-r0 |
| bind-dnssec-utils | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind-libs | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind-devel | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind-doc | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind-utils | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| bind | Chainguard | 9.20.16-r0 |
| bind | Amazon Linux | 32:9.18.33-1.amzn2023.0.4 |
| BIND 9 | ISC | 9.21.12, 9.20.13-S1, 9.20.13, 9.18.39-S1, 9.18.39, 9.16.50-S1, 9.16.50 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| ISC | BIND 9 | 9.16.0, 9.18.0, 9.20.0 |
| amazon:2023 | bind-license | 0 |
| amazon:2023 | bind-chroot | 0 |
| alpine | bind | 0, 0 |
| wolfi | bind | 0 |
| amazon:2023 | bind-dnssec-utils | 0 |
| amazon:2023 | bind-libs | 0 |
| amazon:2023 | bind-devel | 0 |
| amazon:2023 | bind-doc | 0 |
| amazon:2023 | bind-utils | 0 |
| ISC | BIND 9 | 9.20.9-S1, 9.16.8-S1, 9.18.11-S1 |
| chainguard | bind | 0 |
| amazon:2023 | bind | 0 |
Timeline
- Oct 22, 2025 CVE Published
- Oct 23, 2025 EPSS Score (30 in total, the first dated here)
- Nov 4, 2025 CVE Updated
- Mar 17, 2026 Security Advisory (84 in total, the first dated here)
- Jun 8, 2026 Coalition ESS Score
- Oct 7, 2026 Distribution Patch (31 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-40780
vulnetix vdb fixes CVE-2025-40780
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2025-40780/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- CVE-2025-40780 vendor-advisory
- http://www.openwall.com/lists/oss-security/2025/10/22/1 url