{"id":"CVE-2025-40778","state":"PUBLISHED","title":"Cache poisoning attacks with unsolicited RRs","description":"Under certain circumstances, BIND is too lenient when accepting records from answers, allowing an attacker to inject forged data into the cache.\nThis issue affects BIND 9 versions 9.11.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.11.3-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.","publishedAt":"2025-10-22T15:47:13.243Z","updatedAt":"2026-02-26T16:57:13.134Z","severity":{"score":8.6,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","source":"isc"},"assigner":"isc","products":["ISC BIND 9"],"affected":[{"vendor":"ISC","product":"BIND 9","defaultStatus":"unaffected","versions":[{"version":"9.11.0","status":"affected","lessThanOrEqual":"9.16.50","versionType":"custom"},{"version":"9.18.0","status":"affected","lessThanOrEqual":"9.18.39","versionType":"custom"},{"version":"9.20.0","status":"affected","lessThanOrEqual":"9.20.13","versionType":"custom"},{"version":"9.21.0","status":"affected","lessThanOrEqual":"9.21.12","versionType":"custom"},{"version":"9.11.3-S1","status":"affected","lessThanOrEqual":"9.16.50-S1","versionType":"custom"},{"version":"9.18.11-S1","status":"affected","lessThanOrEqual":"9.18.39-S1","versionType":"custom"},{"version":"9.20.9-S1","status":"affected","lessThanOrEqual":"9.20.13-S1","versionType":"custom"}]}],"references":["https://kb.isc.org/docs/cve-2025-40778","https://gist.github.com/N3mes1s/f76b4a606308937b0806a5256bc1f918","http://www.openwall.com/lists/oss-security/2025/10/22/1"],"weaknesses":["CWE-349"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/40xxx/CVE-2025-40778.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-40778","state":"PUBLISHED","datePublished":"2025-10-22T15:47:13.243Z","dateUpdated":"2026-02-26T16:57:13.134Z","assignerShortName":"isc","assignerOrgId":"404fd4d2-a609-4245-b543-2c944a302a22","dateReserved":"2025-04-16T08:44:49.857Z"},"containers":{"cna":{"title":"Cache poisoning attacks with unsolicited RRs","descriptions":[{"lang":"en","value":"Under certain circumstances, BIND is too lenient when accepting records from answers, allowing an attacker to inject forged data into the cache.\nThis issue affects BIND 9 versions 9.11.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.11.3-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."}],"affected":[{"vendor":"ISC","product":"BIND 9","defaultStatus":"unaffected","versions":[{"version":"9.11.0","status":"affected","lessThanOrEqual":"9.16.50","versionType":"custom"},{"version":"9.18.0","status":"affected","lessThanOrEqual":"9.18.39","versionType":"custom"},{"version":"9.20.0","status":"affected","lessThanOrEqual":"9.20.13","versionType":"custom"},{"version":"9.21.0","status":"affected","lessThanOrEqual":"9.21.12","versionType":"custom"},{"version":"9.11.3-S1","status":"affected","lessThanOrEqual":"9.16.50-S1","versionType":"custom"},{"version":"9.18.11-S1","status":"affected","lessThanOrEqual":"9.18.39-S1","versionType":"custom"},{"version":"9.20.9-S1","status":"affected","lessThanOrEqual":"9.20.13-S1","versionType":"custom"}]}],"references":[{"url":"https://kb.isc.org/docs/cve-2025-40778","name":"CVE-2025-40778","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"NONE","scope":"CHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:H/A:N","baseScore":8.6,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-349","lang":"en","type":"CWE","description":"CWE-349 Acceptance of Extraneous Untrusted Data With Trusted Data"}]}],"providerMetadata":{"shortName":"isc","orgId":"404fd4d2-a609-4245-b543-2c944a302a22","dateUpdated":"2025-10-22T15:47:13.243Z"},"datePublic":"2025-10-22T00:00:00.000Z","impacts":[{"descriptions":[{"lang":"en","value":"Forged records can be injected into cache during a query, which can potentially affect resolution of future queries."}]}],"workarounds":[{"lang":"en","value":"No workarounds known."}],"exploits":[{"lang":"en","value":"We are not aware of any active exploits."}],"solutions":[{"lang":"en","value":"Upgrade to the patched release most closely related to your current version of BIND 9: 9.18.41, 9.20.15, 9.21.14, 9.18.41-S1, or 9.20.15-S1."}],"credits":[{"lang":"en","value":"ISC would like to thank Yuxiao Wu, Yunyi Zhang, Baojun Liu, and Haixin Duan from Tsinghua University for bringing this vulnerability to our attention."}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"cvelib 1.8.0"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/N3mes1s/f76b4a606308937b0806a5256bc1f918","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2025-40778","role":"CISA Coordinator","options":[{"Exploitation":"poc"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2025-11-07T04:56:12.747619Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-26T16:57:13.134Z"}},{"title":"CVE Program Container","references":[{"url":"http://www.openwall.com/lists/oss-security/2025/10/22/1"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-04T21:10:14.114Z"}}]}}}