{"id":"CVE-2026-12244","aliases":["ALPINE-CVE-2026-12244","DEBIAN-CVE-2026-12244","EUVD-2026-39182","GHSA-p22w-wq6p-g85g","UBUNTU-CVE-2026-12244","USN-8474-1","openSUSE-SU-2026:11395-1","openSUSE-SU-2026:21502-1"],"status":"published","title":"Heap overflow and crash with crafted SVCB RR","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","severity":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00487,"percentile":0.4241,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-122","CWE-190"],"published":"2026-06-25T00:00:00Z","modified":"2026-10-27T02:30:41Z","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:26.04:LTS","package":"nsd","fixed_in":["4.14.0-1ubuntu0.1~esm1"],"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"]}],"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: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":"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: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-12244.txt","tags":["vendor-advisory","Patch","Vendor Advisory","fix"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-12244"},{"url":"https://github.com/advisories/GHSA-p22w-wq6p-g85g"},{"url":"https://security.alpinelinux.org/vuln/CVE-2026-12244","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-12244","tags":["advisory"]},{"url":"https://ubuntu.com/security/CVE-2026-12244","tags":["report"]},{"url":"https://ubuntu.com/security/notices/USN-8474-1","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-12244","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-12245","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-12246","tags":["report"]},{"url":"https://ubuntu.com/security/CVE-2026-12490","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-12244","title":"Heap overflow and crash with crafted SVCB RR","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T05:24:08.548Z","modified":"2026-06-25T12:45:34.403Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high","assessor":"cna"}],"cwes":["CWE-190","CWE-122"],"updated_at":"2026-11-02T14:19:48.461833Z"}],"euvd":[{"id":"EUVD-2026-39182","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T05:24:08Z","modified":"2026-06-25T12:45:34Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"}],"updated_at":"2026-11-02T18:20:29.723653Z"}],"ghsa":[{"id":"GHSA-p22w-wq6p-g85g","title":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR...","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T09:31:17Z","modified":"2026-06-26T03:31:29Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"cwes":["CWE-122"],"updated_at":"2026-11-02T15:08:59.978633Z"}],"nvd":[{"id":"CVE-2026-12244","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T07:16:44.9Z","modified":"2026-10-25T23:10:00.167Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/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.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high","assessor":"primary"}],"cwes":["CWE-122","CWE-190"],"updated_at":"2026-11-02T14:12:25.67873Z"}],"osv":[{"id":"ALPINE-CVE-2026-12244","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T07:16:44.9Z","modified":"2026-10-01T02:17:49.174409764Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:27:50.269992Z"},{"id":"CVE-2026-12244","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T07:16:44.9Z","modified":"2026-10-27T02:30:41.851814378Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:44:57.354194Z"},{"id":"DEBIAN-CVE-2026-12244","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T07:16:44.9Z","modified":"2026-10-26T11:47:35.612562696Z","cvss":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","level":"high"}],"updated_at":"2026-11-02T15:45:51.374409Z"},{"id":"UBUNTU-CVE-2026-12244","description":"If NSD is configured as secondary for a zone, the primary of that zone can crash NSD with an AXFR containing a DNS message with a special crafted SVCB RR with an rdata size of 65512, that let's an (uint16_t) variable that is used to allocate space needed for the RR wrap (because total size \u003e 65535), causing a heap overflow. The attacker can perform a controlled (RCE class) head write of up to 65509 bytes","status":"published","published":"2026-06-25T00:00:00Z","modified":"2026-10-17T12:58:04.710255845Z","cvss":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","level":"high"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/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"},{"id":"USN-8474-1","title":"NSD vulnerabilities","description":"It was discovered that NSD incorrectly handled APL resource records with an\naddress length larger than permitted for the address family. A remote attacker\ncould use this to cause a stack-based buffer overflow when the zone is written\nto disk, potentially executing arbitrary code with the privileges of the NSD\nserver. (CVE-2026-12246)\n\nIt was discovered that NSD incorrectly handled SVCB resource records. A remote\nattacker could use this to cause a heap overflow, potentially executing\narbitrary code with the privileges of the NSD server. This issue only affected\nUbuntu 26.04 LTS. (CVE-2026-12244)\n\nIt was discovered that NSD had a use-after-free vulnerability in TLS\nconnection error logging. A remote attacker could use this to cause a denial\nof service by crashing the server process. This issue only affected Ubuntu\n26.04 LTS. (CVE-2026-12245)\n\nIt was discovered that NSD incorrectly handled TLS authentication for zone\ntransfers. An attacker could bypass transfer security restrictions when\ncertain conditions were met. This issue only affected Ubuntu 26.04 LTS.\n(CVE-2026-12490)","status":"published","published":"2026-06-25T12:38:18Z","modified":"2026-06-29T13:51:19.578110262Z","updated_at":"2026-11-02T16:58:25.103481Z"}]}}
