{"id":"CVE-2026-12246","aliases":["ALPINE-CVE-2026-12246","DEBIAN-CVE-2026-12246","EUVD-2026-39184","GHSA-xgm5-85mh-3559","UBUNTU-CVE-2026-12246","openSUSE-SU-2026:11395-1","openSUSE-SU-2026:21502-1"],"status":"published","title":"Out of bounds stack write with crafted APL RR","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.","severity":{"version":"4.0","score":7.2,"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","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00444,"percentile":0.39009,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-120","CWE-20"],"published":"2026-06-25T00:00:00Z","modified":"2026-10-27T02:30:47Z","fixes":[{"ecosystem":"Alpine:v3.24","package":"nsd","fixed_in":["4.14.3-r0"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nsd","fixed_in":["4.14.3-1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nsd","fixed_in":["4.1.7-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nsd","fixed_in":["4.1.17-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nsd","fixed_in":["4.1.26-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nsd","fixed_in":["4.3.9-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nsd","fixed_in":["4.8.0-1ubuntu0.1~esm1"],"sources":["osv"]},{"ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nsd","fixed_in":["4.14.0-1ubuntu0.1~esm1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Alpine:v3.24","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"4.14.0"},{"fixed":"4.14.3-r0"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.3-1"}]}],"versions":["4.12.0-1","4.12.0-2","4.13.0-1","4.13.0-2","4.13.0-3","4.13.0-4","4.13.0-5","4.13.0-6","4.14.0-1","4.14.1-1","4.14.2-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:16.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.7-1ubuntu0.1~esm1"}]}],"versions":["4.1.2-1","4.1.6-1","4.1.7-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:18.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.17-1ubuntu0.1~esm1"}]}],"versions":["4.1.16-1build1","4.1.17-1","4.1.17-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:20.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.1.26-1ubuntu0.1~esm1"}]}],"versions":["4.1.26-1","4.1.26-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:22.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.3.9-1ubuntu0.1~esm1"}]}],"versions":["4.3.5-1","4.3.7-1","4.3.8-1","4.3.8-1build1","4.3.9-1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:24.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.8.0-1ubuntu0.1~esm1"}]}],"versions":["4.7.0-1","4.8.0-1","4.8.0-1build1","4.8.0-1build3"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.11.1-1","4.12.0-1"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.14.0-1","4.14.2-1","4.14.3-1","4.15.0-1","4.15.0-1build1"]},{"source":"osv","ecosystem":"Ubuntu:Pro:26.04:LTS","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.0-1ubuntu0.1~esm1"}]}],"versions":["4.12.0-1","4.13.0-6","4.14.0-1"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.3-1.1"}]}],"bundled":4},{"source":"osv","ecosystem":"openSUSE:Leap 16.0","package":"nsd","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.14.3-bp160.1.1"}]}],"bundled":4}],"products":[{"vendor":"nlnet labs","product":"nsd"},{"vendor":"nlnetlabs","product":"nsd"}],"references":[{"url":"https://www.nlnetlabs.nl/downloads/nsd/CVE-2026-12246.txt","tags":["vendor-advisory","Patch","Vendor Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12246"},{"url":"https://github.com/advisories/GHSA-xgm5-85mh-3559"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-12246","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-12246","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-12246","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8474-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12246","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-12244","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-12245","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-12246","tags":["web"]},{"url":"https://www.suse.com/security/cve/CVE-2026-12490","tags":["web"]},{"url":"https://bugzilla.suse.com/1269563","tags":["report"]},{"url":"https://bugzilla.suse.com/1269564","tags":["report"]},{"url":"https://bugzilla.suse.com/1269565","tags":["report"]},{"url":"https://bugzilla.suse.com/1269566","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2026-12246","title":"Out of bounds stack write with crafted APL RR","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.","status":"published","published":"2026-06-25T05:24:29.512Z","modified":"2026-06-25T12:42:05.428Z","cvss":[{"version":"4.0","score":7.2,"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","level":"high","assessor":"cna"}],"cwes":["CWE-120","CWE-20"],"updated_at":"2026-11-02T14:19:48.461833Z"}],"euvd":[{"id":"EUVD-2026-39184","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.","status":"published","published":"2026-06-25T05:24:29Z","modified":"2026-06-25T12:42:05Z","cvss":[{"version":"4.0","score":7.2,"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","level":"high"}],"updated_at":"2026-11-02T18:20:29.723653Z"}],"ghsa":[{"id":"GHSA-xgm5-85mh-3559","title":"NSD version 4.14.0 introduced a bug where a specially crafted APL RR, with an adflength larger...","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.","status":"published","published":"2026-06-25T09:31:17Z","modified":"2026-06-26T03:32:31Z","cvss":[{"version":"4.0","score":7.2,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:09:00.559973Z"}],"nvd":[{"id":"CVE-2026-12246","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.","status":"published","published":"2026-06-25T07:16:45.197Z","modified":"2026-10-25T23:10:00.167Z","cvss":[{"version":"4.0","score":7.2,"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-20","CWE-120"],"updated_at":"2026-11-02T14:12:25.67873Z"}],"osv":[{"id":"ALPINE-CVE-2026-12246","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.","status":"published","published":"2026-06-25T07:16:45.197Z","modified":"2026-10-01T02:17:49.175802519Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:50.269992Z"},{"id":"CVE-2026-12246","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.","status":"published","published":"2026-06-25T07:16:45.197Z","modified":"2026-10-27T02:30:47.51390229Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:57.354194Z"},{"id":"DEBIAN-CVE-2026-12246","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.","status":"published","published":"2026-06-25T07:16:45.197Z","modified":"2026-10-26T11:47:37.517093219Z","cvss":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:51.374409Z"},{"id":"UBUNTU-CVE-2026-12246","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.","status":"published","published":"2026-06-25T00:00:00Z","modified":"2026-10-17T12:58:04.913111745Z","cvss":[{"version":"4.0","score":7.2,"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","level":"high"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T16:56:00.592716Z"},{"id":"openSUSE-SU-2026:11395-1","title":"nsd-4.14.3-1.1 on GA media","description":"These are all security issues fixed in the nsd-4.14.3-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-07-28T00:00:00Z","modified":"2026-07-29T18:24:27.018346618Z","updated_at":"2026-11-02T16:58:39.516824Z"},{"id":"openSUSE-SU-2026:21502-1","title":"Security update for nsd","description":"This update for nsd fixes the following issues:\n\nChanges in nsd:\n\n- Update nsd.keyring\n\n- update to 4.14.3:\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_14_3_REL/doc/ChangeLog\n  * CVE-2026-12490: Bypass of client certificate verification with transfer over TLS (bsc#1269563)\n  * CVE-2026-12246: Out of bounds stack write with crafted APL RR (bsc#1269564)\n  * CVE-2026-12245: Denial of DNS over TLS service by any DoT client (bsc#1269565)\n  * CVE-2026-12244: Heap overflow and crash with crafted SVCB RR (bsc#1269566)\n- update to 4.14.2:\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_14_2_REL/doc/ChangeLog\n- update to 4.14.1:\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_14_1_REL/doc/ChangeLog\n- update to 4.14.0:\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_14_0_REL/doc/ChangeLog\n\n- update to 4.13.0:\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_13_0_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_12_1_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_12_0_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_11_1_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_11_0_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_10_1_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_10_0_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_9_1_REL/doc/ChangeLog\n  https://github.com/NLnetLabs/nsd/blob/NSD_4_9_0_REL/doc/ChangeLog\n- enable systemd notify support.\n- enable dnstap support.\n- enable tcp fast open support\n- enable support for \u003e= 2038\n","status":"published","published":"2026-07-29T09:24:11Z","modified":"2026-07-31T18:24:09.788747347Z","updated_at":"2026-11-02T16:58:41.885092Z"}]}}
