{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-12245 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-12245 is a high-severity use after free vulnerability in NLnet Labs NSD, published on 25 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12245 and fix it if it is affected.\n\nWhat it is: CVE-2026-12245 is a high-severity use after free vulnerability in NLnet Labs NSD, published on 25 Jun 2026. 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-2026-12245 in the wild and no public exploit code.\n\nAffected product: NLnet Labs NSD. 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-2026-12245/ (Markdown: https://insights.sbomify.com/CVE-2026-12245/index.md)","id":"CVE-2026-12245","markdown":"https://insights.sbomify.com/CVE-2026-12245/index.md","name":"CVE-2026-12245","record":{"aliases":["ALPINE-CVE-2026-12245","DEBIAN-CVE-2026-12245","GHSA-rcp9-2p4r-m2hm"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"NSD DNS server","requires_auth":"none","summary":"A heap use-after-free in NSD allows remote attackers to crash the DNS over TLS service by closing connections prematurely.","user_interaction":"not_required","vuln_class":"use_after_free"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[{"product":"nsd","vendor":"nlnetlabs"}],"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:N/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-416","name":"Use After Free"}],"description":"NSD from version 4.13.0 has a heap use-after-free bug in logging errors on TLS connections, causing a crash of the server process, which can be triggered trivially by sending a DNS query over a DoT connection, and closing the connection without reading the response.","ecosystems":[],"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":"Denial of DNS over TLS service by any DoT client","id":"CVE-2026-12245","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"use_after_free","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"Out of bounds stack write with crafted APL RR","id":"CVE-2026-12246"},"packages":[],"prev":{"headline":"Heap overflow and crash with crafted SVCB RR","id":"CVE-2026-12244"},"products":["NSD"],"published":"2026-06-25","related":[{"cvss_score":8.7,"headline":"Heap overflow and crash with crafted SVCB RR","id":"CVE-2026-12244","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":8.2,"headline":"Wrong interpretation of ACL ranges","id":"CVE-2026-18664","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":8.2,"headline":"Remote UDP DoS by sending multiple DNS Cookie options","id":"CVE-2026-19401","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":8.2,"headline":"Bypass of BLOCKED ACL items on proxy protocol port over TCP or TLS","id":"CVE-2026-19538","kev_date_added":null,"published":"2026-08-26"},{"cvss_score":8.2,"headline":"Bypass of client certificate verification with transfer over TLS","id":"CVE-2026-12490","kev_date_added":null,"published":"2026-06-25"},{"cvss_score":7.5,"headline":"Denial of service in n/a","id":"CVE-2016-6173","kev_date_added":null,"published":"2017-02-09"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"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":"2026-06-25","vendors":["NLnet Labs"]},"summary":"A heap use-after-free in NSD allows remote attackers to crash the DNS over TLS service by closing connections prematurely.","url":"https://insights.sbomify.com/CVE-2026-12245/"}