{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-12246 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-12246 is a high-severity memory corruption vulnerability in NLnet Labs NSD, published on 25 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-12246 and fix it if it is affected.\n\nWhat it is: CVE-2026-12246 is a high-severity memory corruption vulnerability in NLnet Labs NSD, published on 25 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-12246 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-12246/ (Markdown: https://insights.sbomify.com/CVE-2026-12246/index.md)","id":"CVE-2026-12246","markdown":"https://insights.sbomify.com/CVE-2026-12246/index.md","name":"CVE-2026-12246","record":{"aliases":["ALPINE-CVE-2026-12246","DEBIAN-CVE-2026-12246","GHSA-xgm5-85mh-3559"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"NSD DNS server","requires_auth":"low_privilege","summary":"A crafted APL resource record causes a stack buffer overflow in NSD during zone writing, potentially allowing remote code execution or denial of service.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"NLnet Labs","cpe":[{"product":"nsd","vendor":"nlnetlabs"}],"cvss":{"score":7.2,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger than permitted for the address family will overwrite the stack when the zone is written to disk, with a maximum of 111 attacker controlled bytes.","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":"Out of bounds stack write with crafted APL RR","id":"CVE-2026-12246","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":0,"n_references":1,"next":{"headline":"WPML Multilingual CMS \u003c= 4.9.5 - Authenticated (Translator+) SQL Injection via 'sorting' Parameter","id":"CVE-2026-12248"},"packages":[],"prev":{"headline":"Denial of DNS over TLS service by any DoT client","id":"CVE-2026-12245"},"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.7,"headline":"Denial of DNS over TLS service by any DoT client","id":"CVE-2026-12245","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":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-25","vendors":["NLnet Labs"]},"summary":"A crafted APL resource record causes a stack buffer overflow in NSD during zone writing, potentially allowing remote code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2026-12246/"}