{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2025-5994 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2025-5994 is a high-severity vulnerability in NLnet Labs Unbound, 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-5994 and fix it if it is affected.\n\nWhat it is: CVE-2025-5994 is a high-severity vulnerability in NLnet Labs Unbound, 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-5994 in the wild and no public exploit code.\n\nAffected product: NLnet Labs Unbound. 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-5994/ (Markdown: https://insights.sbomify.com/CVE-2025-5994/index.md)","id":"CVE-2025-5994","markdown":"https://insights.sbomify.com/CVE-2025-5994/index.md","name":"CVE-2025-5994","record":{"aliases":["ALPINE-CVE-2025-5994","ALSA-2025:11849","ALSA-2025:11884","ALSA-2025:12064","CLEANSTART-2026-NH76134","CLSA-2025-1754649153","CLSA-2026-1768411996","DEBIAN-CVE-2025-5994","GHSA-xrv5-2wwg-jp3r","OESA-2025-1974","RHSA-2025:11849","RHSA-2025:11884","RHSA-2025:12064","RHSA-2025:12416","RHSA-2025:12520","RHSA-2025:12523","RHSA-2025:12929","RHSA-2025:13575","RHSA-2025:13576","RHSA-2025:13577","RLSA-2025:11849","RLSA-2025:11884","UBUNTU-CVE-2025-5994","USN-7666-1","openSUSE-SU-2025:15435-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["data_modify","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"DNS resolver","requires_auth":"none","summary":"Attackers can poison DNS caches in Unbound resolvers with ECS enabled, leading to data modification and security bypass.","user_interaction":"not_required","vuln_class":"other"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[],"cvss":{"score":8.7,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/R:U/V:C","version":"4.0"},"cwes":[{"id":"CWE-349","name":"Acceptance of Extraneous Untrusted Data With Trusted Data"}],"description":"A multi-vendor cache poisoning vulnerability named 'Rebirthday Attack' has been discovered in caching resolvers that support EDNS Client Subnet (ECS). Unbound is also vulnerable when compiled with ECS support, i.e., '--enable-subnet', AND configured to send ECS information along with queries to upstream name servers, i.e., at least one of the 'send-client-subnet', 'client-subnet-zone' or 'client-subnet-always-forward' options is used. Resolvers supporting ECS need to segregate outgoing queries to accommodate for different outgoing ECS information. This re-opens up resolvers to a birthday paradox attack (Rebirthday Attack) that tries to match the DNS transaction ID in order to cache non-ECS poisonous replies.","ecosystems":["AlmaLinux:10","AlmaLinux:8","AlmaLinux:9","Red Hat:enterprise_linux:10.0","Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:9::appstream","Red Hat:enterprise_linux:9::crb","Red Hat:rhel_aus:8.2::appstream","Red Hat:rhel_aus:8.4::appstream","Red Hat:rhel_aus:8.6::appstream","Red Hat:rhel_e4s:8.6::appstream","Red Hat:rhel_e4s:8.8::appstream","Red Hat:rhel_e4s:9.0::appstream","Red Hat:rhel_e4s:9.2::appstream","Red Hat:rhel_eus:9.4::appstream","Red Hat:rhel_eus:9.4::crb","Red Hat:rhel_eus_long_life:8.4::appstream","Red Hat:rhel_tus:8.6::appstream","Red Hat:rhel_tus:8.8::appstream","Rocky Linux:8","Rocky Linux:9","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":"Cache poisoning via the ECS-enabled Rebirthday Attack","id":"CVE-2025-5994","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"other","year":"2025"},"n_packages":141,"n_references":1,"next":{"headline":"Privilege escalation in Canon EOS Webcam Utility Pro","id":"CVE-2025-5995"},"packages":[{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor","purl":"pkg:rpm/almalinux/unbound-anchor","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/almalinux/unbound-dracut","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:10","fixed":["1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2025:12064"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2025:11884"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2025:11884"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2025:11884"},{"ecosystem":"AlmaLinux:8","fixed":["1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2025:11884"},{"ecosystem":"AlmaLinux:9","fixed":["1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/almalinux/python3-unbound","source":"ALSA-2025:11849"},{"ecosystem":"AlmaLinux:9","fixed":["1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/almalinux/unbound","source":"ALSA-2025:11849"},{"ecosystem":"AlmaLinux:9","fixed":["1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/almalinux/unbound-devel","source":"ALSA-2025:11849"},{"ecosystem":"AlmaLinux:9","fixed":["1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/almalinux/unbound-dracut","source":"ALSA-2025:11849"},{"ecosystem":"AlmaLinux:9","fixed":["1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/almalinux/unbound-libs","source":"ALSA-2025:11849"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor","purl":"pkg:rpm/redhat/unbound-anchor","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-anchor-debuginfo","purl":"pkg:rpm/redhat/unbound-anchor-debuginfo","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-debuginfo","purl":"pkg:rpm/redhat/unbound-debuginfo","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-debugsource","purl":"pkg:rpm/redhat/unbound-debugsource","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/redhat/unbound-devel","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-dracut","purl":"pkg:rpm/redhat/unbound-dracut","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/redhat/unbound-libs","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-libs-debuginfo","purl":"pkg:rpm/redhat/unbound-libs-debuginfo","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:10.0","fixed":["0:1.20.0-12.el10_0"],"introduced":["0"],"last_affected":[],"package":"unbound-utils-debuginfo","purl":"pkg:rpm/redhat/unbound-utils-debuginfo","source":"RHSA-2025:12064"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-debuginfo","purl":"pkg:rpm/redhat/unbound-debuginfo","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-debugsource","purl":"pkg:rpm/redhat/unbound-debugsource","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-devel","purl":"pkg:rpm/redhat/unbound-devel","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-libs","purl":"pkg:rpm/redhat/unbound-libs","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.16.2-5.9.el8_10"],"introduced":["0"],"last_affected":[],"package":"unbound-libs-debuginfo","purl":"pkg:rpm/redhat/unbound-libs-debuginfo","source":"RHSA-2025:11884"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-unbound","purl":"pkg:rpm/redhat/python3-unbound","source":"RHSA-2025:11849"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"python3-unbound-debuginfo","purl":"pkg:rpm/redhat/python3-unbound-debuginfo","source":"RHSA-2025:11849"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound","purl":"pkg:rpm/redhat/unbound","source":"RHSA-2025:11849"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound-debuginfo","purl":"pkg:rpm/redhat/unbound-debuginfo","source":"RHSA-2025:11849"},{"ecosystem":"Red Hat:enterprise_linux:9::appstream","fixed":["0:1.16.2-19.el9_6.1"],"introduced":["0"],"last_affected":[],"package":"unbound-debugsource","purl":"pkg:rpm/redhat/unbound-debugsource","source":"RHSA-2025:11849"}],"prev":{"headline":"Path Traversal in ITCube CRM","id":"CVE-2025-5993"},"products":["Unbound"],"published":"2025-07-16","related":[],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"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-03","vendors":["NLnet Labs"]},"summary":"Attackers can poison DNS caches in Unbound resolvers with ECS enabled, leading to data modification and security bypass.","url":"https://insights.sbomify.com/CVE-2025-5994/"}