{"id":"CVE-2017-13704","published":"2017-10-02T21:00:00Z","modified":"2024-08-05T19:05:20Z","title":"In dnsmasq before 2.78, if the DNS packet size does not match the expected size, the size parameter in a memset call…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"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.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw lies in dnsmasq before 2.78, in the handling of DNS packets whose size does not match the expected size, where a size parameter passed to a memset call becomes negative. Because that value is treated as unsigned, memset writes a very large number of zero bytes, causing dnsmasq to crash.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:23:43Z"},"cvss":null,"epss":{"score":0.6541,"percentile":0.99256,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"http://www.securitytracker.com/id/1039474","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq","tags":["x_refsource_CONFIRM"]},{"url":"https://access.redhat.com/security/vulnerabilities/3199382","tags":["x_refsource_CONFIRM"]},{"url":"http://www.securityfocus.com/bid/101085","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.securityfocus.com/bid/101977","tags":["vdb-entry","x_refsource_BID"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928","tags":["x_refsource_CONFIRM"]},{"url":"http://thekelleys.org.uk/dnsmasq/CHANGELOG","tags":["x_refsource_CONFIRM"]},{"url":"https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html","tags":["x_refsource_MISC"]},{"url":"https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html","tags":["mailing-list","x_refsource_MLIST"]},{"url":"https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2017-5221","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2017-5221","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[],"exploitSources":null,"exploitRefs":[],"flow":[],"timeline":[{"date":"2017-10-02","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2017-13704","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":null,"daysToKev":null},"priority":{"score":19.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.85,"detail":"percentile 0.9926"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":0.0,"detail":"none found"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}