{"id":"USN-8542-1","summary":"dnsmasq vulnerabilities","details":"Yiwei Hou discovered that Dnsmasq incorrectly handled logging of DS or\nDNSKEY. A remote attacker could possibly use this issue to cause a\ndenial of service. (CVE-2026-12725)\n\nIt was discovered that Dnsmasq incorrectly validated the length of\nfixed-length DNS record fields when parsing NS section records. A remote\nattacker could possibly use this issue to cause Dnsmasq to read out of\nbounds, possibly exposing sensitive information. (CVE-2026-12969)","modified":"2026-07-15T04:05:20.571021518Z","published":"2026-07-14T17:43:48Z","related":["UBUNTU-CVE-2026-12725","UBUNTU-CVE-2026-12969"],"upstream":["CVE-2026-12725","CVE-2026-12969","UBUNTU-CVE-2026-12725","UBUNTU-CVE-2026-12969"],"references":[{"type":"ADVISORY","url":"https://ubuntu.com/security/notices/USN-8542-1"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12725"},{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-12969"}],"affected":[{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=esm-infra-legacy%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.90-0ubuntu0.16.04.1+esm4"}]}],"versions":["2.75-1","2.75-1ubuntu0.16.04.1","2.75-1ubuntu0.16.04.2","2.75-1ubuntu0.16.04.3","2.75-1ubuntu0.16.04.4","2.75-1ubuntu0.16.04.5","2.75-1ubuntu0.16.04.7","2.75-1ubuntu0.16.04.8","2.75-1ubuntu0.16.04.10","2.75-1ubuntu0.16.04.10+esm1","2.79-1ubuntu0.16.04.1+esm1","2.79-1ubuntu0.16.04.1+esm2","2.90-0ubuntu0.16.04.1+esm1","2.90-0ubuntu0.16.04.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_version":"2.90-0ubuntu0.16.04.1+esm4","binary_name":"dnsmasq"},{"binary_name":"dnsmasq-base","binary_version":"2.90-0ubuntu0.16.04.1+esm4"},{"binary_version":"2.90-0ubuntu0.16.04.1+esm4","binary_name":"dnsmasq-base-lua"},{"binary_name":"dnsmasq-utils","binary_version":"2.90-0ubuntu0.16.04.1+esm4"}],"availability":"Available with Ubuntu Pro with Legacy support add-on: https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:16.04:LTS","cves":[{"id":"CVE-2026-12725","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"score":"medium","type":"Ubuntu"}]},{"id":"CVE-2026-12969","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}]}}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.90-0ubuntu0.18.04.1+esm4"}]}],"versions":["2.78-1","2.78-3","2.79-1","2.79-1ubuntu0.2","2.79-1ubuntu0.3","2.79-1ubuntu0.4","2.79-1ubuntu0.5","2.79-1ubuntu0.6","2.79-1ubuntu0.7","2.90-0ubuntu0.18.04.1+esm1","2.90-0ubuntu0.18.04.1+esm3"],"ecosystem_specific":{"binaries":[{"binary_name":"dnsmasq","binary_version":"2.90-0ubuntu0.18.04.1+esm4"},{"binary_name":"dnsmasq-base","binary_version":"2.90-0ubuntu0.18.04.1+esm4"},{"binary_version":"2.90-0ubuntu0.18.04.1+esm4","binary_name":"dnsmasq-base-lua"},{"binary_name":"dnsmasq-utils","binary_version":"2.90-0ubuntu0.18.04.1+esm4"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json","cves_map":{"ecosystem":"Ubuntu:Pro:18.04:LTS","cves":[{"id":"CVE-2026-12725","severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-12969"}]}}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.90-0ubuntu0.20.04.1+esm3"}]}],"versions":["2.80-1ubuntu2","2.80-1ubuntu4","2.80-1.1ubuntu1","2.80-1.1ubuntu1.2","2.80-1.1ubuntu1.3","2.80-1.1ubuntu1.4","2.80-1.1ubuntu1.5","2.80-1.1ubuntu1.6","2.80-1.1ubuntu1.7","2.90-0ubuntu0.20.04.1","2.90-0ubuntu0.20.04.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"dnsmasq","binary_version":"2.90-0ubuntu0.20.04.1+esm3"},{"binary_name":"dnsmasq-base","binary_version":"2.90-0ubuntu0.20.04.1+esm3"},{"binary_name":"dnsmasq-base-lua","binary_version":"2.90-0ubuntu0.20.04.1+esm3"},{"binary_version":"2.90-0ubuntu0.20.04.1+esm3","binary_name":"dnsmasq-utils"}],"availability":"Available with Ubuntu Pro (Infra-only): https://ubuntu.com/pro"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:Pro:20.04:LTS","cves":[{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-12725"},{"id":"CVE-2026-12969","severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}]}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json"}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.90-0ubuntu0.22.04.4"}]}],"versions":["2.85-1ubuntu2","2.86-1.1","2.86-1.1ubuntu0.1","2.86-1.1ubuntu0.2","2.86-1.1ubuntu0.3","2.86-1.1ubuntu0.4","2.86-1.1ubuntu0.5","2.90-0ubuntu0.22.04.1","2.90-0ubuntu0.22.04.3"],"ecosystem_specific":{"availability":"No subscription required","binaries":[{"binary_version":"2.90-0ubuntu0.22.04.4","binary_name":"dnsmasq"},{"binary_name":"dnsmasq-base","binary_version":"2.90-0ubuntu0.22.04.4"},{"binary_name":"dnsmasq-base-lua","binary_version":"2.90-0ubuntu0.22.04.4"},{"binary_name":"dnsmasq-utils","binary_version":"2.90-0ubuntu0.22.04.4"}]},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:22.04:LTS","cves":[{"id":"CVE-2026-12725","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"score":"medium","type":"Ubuntu"}]},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-12969"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json"}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.90-2ubuntu0.4"}]}],"versions":["2.89-1","2.90-2","2.90-2build1","2.90-2build2","2.90-2ubuntu0.1","2.90-2ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"dnsmasq","binary_version":"2.90-2ubuntu0.4"},{"binary_version":"2.90-2ubuntu0.4","binary_name":"dnsmasq-base"},{"binary_version":"2.90-2ubuntu0.4","binary_name":"dnsmasq-base-lua"},{"binary_name":"dnsmasq-utils","binary_version":"2.90-2ubuntu0.4"}],"availability":"No subscription required"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json","cves_map":{"ecosystem":"Ubuntu:24.04:LTS","cves":[{"severity":[{"score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-12725"},{"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"},{"score":"medium","type":"Ubuntu"}],"id":"CVE-2026-12969"}]}}},{"package":{"name":"dnsmasq","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/dnsmasq?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.92-1ubuntu0.4"}]}],"versions":["2.91-1build1","2.92~rc3-1","2.92-1","2.92-1ubuntu0.2","2.92-1ubuntu0.3"],"ecosystem_specific":{"binaries":[{"binary_name":"dnsmasq","binary_version":"2.92-1ubuntu0.4"},{"binary_name":"dnsmasq-base","binary_version":"2.92-1ubuntu0.4"},{"binary_version":"2.92-1ubuntu0.4","binary_name":"dnsmasq-base-lua"},{"binary_version":"2.92-1ubuntu0.4","binary_name":"dnsmasq-utils"}],"availability":"No subscription required"},"database_specific":{"cves_map":{"ecosystem":"Ubuntu:26.04:LTS","cves":[{"id":"CVE-2026-12725","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H"},{"type":"Ubuntu","score":"medium"}]},{"severity":[{"score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","type":"CVSS_V3"},{"type":"Ubuntu","score":"medium"}],"id":"CVE-2026-12969"}]},"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/usn/USN-8542-1.json"}}],"schema_version":"1.7.5"}