{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2017-13704","published":"2017-10-03T01:29:01.637000Z","last_modified":"2026-06-17T01:05:01.303000Z","status":"Modified","cvss":{"version":"3.0","score":7.5,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"14.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"16.04"},{"criteria":"cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:*","part":"o","vendor":"canonical","product":"ubuntu_linux","version":"17.04"},{"criteria":"cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"7.0"},{"criteria":"cpe:2.3:o:debian:debian_linux:7.1:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"7.1"},{"criteria":"cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*","part":"o","vendor":"debian","product":"debian_linux","version":"9.0"},{"criteria":"cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:*","part":"o","vendor":"fedoraproject","product":"fedora","version":"27"},{"criteria":"cpe:2.3:o:novell:leap:42.2:*:*:*:*:*:*:*","part":"o","vendor":"novell","product":"leap","version":"42.2"},{"criteria":"cpe:2.3:o:novell:leap:42.3:*:*:*:*:*:*:*","part":"o","vendor":"novell","product":"leap","version":"42.3"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_desktop","version":"7.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_server","version":"7.0"},{"criteria":"cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*","part":"o","vendor":"redhat","product":"enterprise_linux_workstation","version":"7.0"},{"criteria":"cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*","part":"a","vendor":"thekelleys","product":"dnsmasq","version_end_including":"2.77"}],"cpes_truncated":false,"vendors":["canonical","debian","fedoraproject","novell","redhat","thekelleys"],"products":["canonical/ubuntu_linux","debian/debian_linux","fedoraproject/fedora","novell/leap","redhat/enterprise_linux_desktop","redhat/enterprise_linux_server","redhat/enterprise_linux_workstation","thekelleys/dnsmasq"],"epss":{"score":0.6541,"percentile":0.99452,"date":"2026-11-28","model_version":"v2026.06.15"},"cat":"os","platform":"linux","eol":false,"packages":[],"severity":"high","priority_score":67,"links":{"html_es":"/es/cve/CVE-2017-13704/","html_en":"/en/cve/CVE-2017-13704/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-13704","cve_org":"https://www.cve.org/CVERecord?id=CVE-2017-13704"},"untrusted":{"vendor_name":"Canonical","product_name":"Ubuntu Linux","desc_en":"In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call gets a negative value. As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash.","affected":[],"references":[{"url":"http://thekelleys.org.uk/dnsmasq/CHANGELOG","tags":["Release Notes","Vendor Advisory"]},{"url":"http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928","tags":[]},{"url":"http://www.securityfocus.com/bid/101085","tags":["Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/101977","tags":[]},{"url":"http://www.securitytracker.com/id/1039474","tags":["Third Party Advisory","VDB Entry"]},{"url":"https://access.redhat.com/security/vulnerabilities/3199382","tags":["Issue Tracking","Third Party Advisory"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/","tags":[]},{"url":"https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html","tags":["Third Party Advisory"]},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html","tags":[]},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html","tags":[]},{"url":"https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq","tags":[]}]}}