CVE-2025-40778: Cache poisoning attacks with unsolicited RRs

Published Oct 22, 2025
·
Updated

Cache poisoning attacks with unsolicited RRs

Other sources

Under certain circumstances, BIND is too lenient when accepting records from answers, allowing an attacker to inject forged data into the cache.

— Red Hat

Affected Software

21 affected componentsFixes available
ISC BIND>=9.11.0<9.16.50, >=9.18.0<9.18.39, >=9.20.0<9.20.13, >=9.21.0<9.21.12, >=9.11.3-S1<9.16.50-S1, >=9.18.11-S1<9.18.39-S1, >=9.20.9-S1<9.20.13-S1
Microsoft azl3 bind 9.20.11-1
Microsoft cbl2 bind 9.16.50-2
Microsoft cbl2 bind 9.16.50-2
Microsoft azl3 bind 9.20.15-1
IBM Cloud Pak for Data System<=1.0.0.0- 1.0.8.4
debian/bind9
1:9.16.50-1~deb11u41:9.18.41-1~deb12u11:9.20.15-1~deb13u11:9.20.15-1
ubuntu/bind9*
ubuntu/bind9*
ubuntu/bind9<1:9.11.3+dfsg-1ubuntu1.19+esm6
1:9.11.3+dfsg-1ubuntu1.19+esm6
ubuntu/isc-dhcp*
ubuntu/bind9<1:9.18.30-0ubuntu0.20.04.2+esm1
1:9.18.30-0ubuntu0.20.04.2+esm1
ubuntu/bind9-libs*
ubuntu/bind9<1:9.18.39-0ubuntu0.22.04.2
1:9.18.39-0ubuntu0.22.04.2
ubuntu/bind9-libs*
ubuntu/bind9<1:9.18.39-0ubuntu0.24.04.2
1:9.18.39-0ubuntu0.24.04.2
ubuntu/isc-dhcp*
ubuntu/bind9<1:9.20.11-1ubuntu2.1
1:9.20.11-1ubuntu2.1
ubuntu/isc-dhcp*
ubuntu/bind9<1:9.20.11-1ubuntu3
1:9.20.11-1ubuntu3
ubuntu/isc-dhcp*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.16.50-1~deb11u4Fixed in 1:9.18.41-1~deb12u1Fixed in 1:9.20.15-1~deb13u1Fixed in 1:9.20.15-1
  2. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.11.3+dfsg-1ubuntu1.19+esm6
  3. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.18.30-0ubuntu0.20.04.2+esm1
  4. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.18.39-0ubuntu0.22.04.2
  5. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.18.39-0ubuntu0.24.04.2
  6. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.20.11-1ubuntu2.1
  7. Upgrade

    Upgrade ubuntu/bind9 to a version that resolves this vulnerability.

    Fixed in 1:9.20.11-1ubuntu3
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.18.41
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.20.15
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.21.14
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.18.41-S1
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 9.20.15-S1

Event History

Oct 22, 2025
CVE Published
via OSV·12:00 AM
Data Sourced
via OSV·12:00 AM
DescriptionSeverityAffected Software
Data Sourced
via Red Hat·03:09 PM
DescriptionSeverityAffected Software
CVE Published
via MITRE·03:47 PM
Data Sourced
via MITRE·03:47 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Oct 25, 2025
Data Sourced
via Microsoft·01:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·01:01 AM
Affected Software
Updated
via Microsoft·01:01 AM
Affected Software
Aug 28, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software
Sep 1, 2026
Updated
via IBM·12:00 AM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Peer vulnerabilities

Found alongside the following vulnerabilities.

Frequently Asked Questions

1

What is the severity of CVE-2025-40778?

CVE-2025-40778 has been classified with a high severity rating due to its potential to allow cache poisoning through forged data.

2

How do I fix CVE-2025-40778?

To fix CVE-2025-40778, update BIND to version 9.16.51 or later, or to the latest available version in affected release branches.

3

Which versions of BIND are affected by CVE-2025-40778?

CVE-2025-40778 affects BIND versions 9.11.0 through 9.16.50, 9.18.0 through 9.18.39, 9.20.0 through 9.20.13, and 9.21.0 through 9.21.12.

4

What types of attacks can CVE-2025-40778 facilitate?

CVE-2025-40778 can facilitate cache poisoning attacks, where an attacker injects malicious DNS responses into the cache.

5

Is there a workaround for CVE-2025-40778?

Currently, the recommended solution for CVE-2025-40778 is to apply the appropriate software updates rather than seeking temporary workarounds.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203