--- title: "CVE-2017-13704: In dnsmasq before 2.78, if the DNS packet… | CubePath" 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…" language: en source: https://cubepath.com/security/cve/CVE-2017-13704 --- # CVE-2017-13704: In dnsmasq before 2.78, if the DNS packet… | CubePath ## 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. Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See [/security/cve/legal](https://cubepath.com/security/cve/legal) for the CVE license. [View the record on cve.org](https://www.cve.org/CVERecord?id=CVE-2017-13704) ## Key data ### EPSS Exploit Prediction Scoring System by FIRST: an estimate of the probability that exploitation activity will be observed in the next 30 days. Score 0.65410 (65.4% probability) Percentile 99.3% Scores of Nov 10, 2026 Model v2026.06.15 ## References Links listed in the CVE record. They lead to other sites, which CubePath does not control. - [1039474](http://www.securitytracker.com/id/1039474) (securitytracker.com) vdb-entry - [synology.com/support/security/Synology\_SA\_17\_59\_Dnsmasq](https://www.synology.com/support/security/Synology%5FSA%5F17%5F59%5FDnsmasq) - [access.redhat.com/security/vulnerabilities/3199382](https://access.redhat.com/security/vulnerabilities/3199382) - [101085](http://www.securityfocus.com/bid/101085) (securityfocus.com) vdb-entry - [101977](http://www.securityfocus.com/bid/101977) (securityfocus.com) vdb-entry - [FEDORA-2017-274d763ed8](https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/4TK6DWC53WSU6633EVZL7H4PCWBYHMHK/) (lists.fedoraproject.org) vendor-advisory - [\[dnsmasq-discuss\] 20171002 Announce: dnsmasq-2.78.](https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html) (mail-archive.com) mailing-list - [thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=6343…](http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928) - [thekelleys.org.uk/dnsmasq/CHANGELOG](http://thekelleys.org.uk/dnsmasq/CHANGELOG) - [security.googleblog.com/2017/10/behind-masq-yet-more-dns-an…](https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html) - [\[dnsmasq-discuss\] 20171002 IMPORTANT SECURITY INFORMATION.](https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html) (mail-archive.com) mailing-list - [cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf](https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf) ## Timeline 1. ID reserved Aug 25, 2017 2. Record published Oct 2, 2017 3. Record last updated Aug 5, 2024 ## Look up another CVE ## About CubePath CubePath is a cloud provider with data centers in Europe and the United States. It offers VPS, bare metal servers and DDoS protection. [Cloud VPS](https://cubepath.com/vps) [DDoS protection](https://cubepath.com/ddos-protection) Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:59 UTC. [Sources and licenses](https://cubepath.com/security/cve/legal)