{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-40777 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-40777 is a high-severity denial of service vulnerability in ISC BIND 9, published on 16 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-40777 and fix it if it is affected.\n\nWhat it is: CVE-2025-40777 is a high-severity denial of service vulnerability in ISC BIND 9, published on 16 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-40777 in the wild and no public exploit code.\n\nAffected product: ISC BIND 9. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-40777/ (Markdown: https://insights.sbomify.com/CVE-2025-40777/index.md)","id":"CVE-2025-40777","markdown":"https://insights.sbomify.com/CVE-2025-40777/index.md","name":"CVE-2025-40777","record":{"aliases":["ALPINE-CVE-2025-40777","AZL-65553","BELL-CVE-2025-40777","DEBIAN-CVE-2025-40777","GHSA-4x4c-8qp9-8ggh","ROOT-OS-DEBIAN-11-CVE-2025-40777","SUSE-SU-2025:02349-1","USN-7641-1","openSUSE-SU-2025:15354-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":true,"product_category":"BIND DNS resolver","requires_auth":"none","summary":"Attackers can cause a denial of service in BIND caching resolvers by triggering an assertion failure under specific stale-answer configurations.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"isc","cpe":[],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-617","name":"Reachable Assertion"}],"description":"If a `named` caching resolver is configured with `serve-stale-enable` `yes`, and with `stale-answer-client-timeout` set to `0` (the only allowable value other than `disabled`), and if the resolver, in the process of resolving a query, encounters a CNAME chain involving a specific combination of cached or authoritative records, the daemon will abort with an assertion failure.\nThis issue affects BIND 9 versions 9.20.0 through 9.20.10, 9.21.0 through 9.21.9, and 9.20.9-S1 through 9.20.10-S1.","ecosystems":["SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Server Applications 15 SP7","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"A possible assertion failure when 'stale-answer-client-timeout' is set to '0'","id":"CVE-2025-40777","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"denial_of_service","year":"2025"},"n_packages":3,"n_references":1,"next":{"headline":"Cache poisoning attacks with unsolicited RRs","id":"CVE-2025-40778"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["9.20.11-150700.3.6.1"],"introduced":["0"],"last_affected":[],"package":"bind","purl":"pkg:rpm/suse/bind\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2025:02349-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Server Applications 15 SP7","fixed":["9.20.11-150700.3.6.1"],"introduced":["0"],"last_affected":[],"package":"bind","purl":"pkg:rpm/suse/bind\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Server%20Applications%2015%20SP7","source":"SUSE-SU-2025:02349-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["9.20.11-1.1"],"introduced":["0"],"last_affected":[],"package":"bind","purl":"pkg:rpm/opensuse/bind\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2025:15354-1"}],"prev":{"headline":"Birthday Attack against Resolvers supporting ECS","id":"CVE-2025-40776"},"products":["BIND 9"],"published":"2025-07-16","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-11-04","vendors":["ISC"]},"summary":"Attackers can cause a denial of service in BIND caching resolvers by triggering an assertion failure under specific stale-answer configurations.","url":"https://insights.sbomify.com/CVE-2025-40777/"}