{"id":"CVE-2017-13704","url":"https://www.cyber-defence.io/tools/cve/CVE-2017-13704","generatedAt":"2026-10-29T01:51:53.730Z","title":"As it is an unsigned value, memset ends up writing up to 0xffffffff zero's (0xffffffffffffffff in 64 bit platforms), making dnsmasq crash.","description":"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.","published":"2017-10-03T01:29:02.000Z","lastModified":"2026-06-17T01:05:01.000Z","status":"Modified","sourceIdentifier":"cve@mitre.org","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"},"cwe":["CWE-20"],"affected":["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.99255,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.64175,"percentile":0.99219},{"date":"2026-09-22","score":0.6541,"percentile":0.99224}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 65.4%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://thekelleys.org.uk/dnsmasq/CHANGELOG","tags":["Release Notes","Vendor Advisory"],"source":"cve@mitre.org"},{"url":"http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928","source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/101085","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"http://www.securityfocus.com/bid/101977","source":"cve@mitre.org"},{"url":"http://www.securitytracker.com/id/1039474","tags":["Third Party Advisory","VDB Entry"],"source":"cve@mitre.org"},{"url":"https://access.redhat.com/security/vulnerabilities/3199382","tags":["Issue Tracking","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf","source":"cve@mitre.org"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/","source":"cve@mitre.org"},{"url":"https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html","tags":["Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html","source":"cve@mitre.org"},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html","source":"cve@mitre.org"},{"url":"https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq","source":"cve@mitre.org"},{"url":"http://thekelleys.org.uk/dnsmasq/CHANGELOG","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/101085","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/101977","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securitytracker.com/id/1039474","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/security/vulnerabilities/3199382","tags":["Issue Tracking","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2017-13704","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}