Vulnerability database / CVE-2017-13704
CVE-2017-13704
HIGH 7.5 CVSS 3.0 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 3 Oct 2017
Last modified 17 Jun 2026 Assigned by cve@mitre.org NVD status Modified Weakness
CWE-20 Sources
NVD JSON Scores
Source Scored by Version Score Vector / decision
NVD
nvd@nist.gov (Primary)
CVSS 3.0
HIGH 7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD
nvd@nist.gov (Primary)
CVSS 2.0
MEDIUM 5.0
AV:N/AC:L/Au:N/C:N/I:N/A:P
Affected
Source Vendor / ecosystem Product / package Affected versions Fixed in
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD
canonical
ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:*
= 17.04
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:7.1:*:*:*:*:*:*:*
= 7.1
NVD
debian
debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD
fedoraproject
fedoracpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:*
= 27
NVD
novell
leapcpe:2.3:o:novell:leap:42.2:*:*:*:*:*:*:*
= 42.2
NVD
novell
leapcpe:2.3:o:novell:leap:42.3:*:*:*:*:*:*:*
= 42.3
NVD
redhat
enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD
redhat
enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD
redhat
enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
NVD
thekelleys
dnsmasqcpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*
<= 2.77
References
History
25 Nov 2026 20:20 UTC · NVD: first stored (published 3 Oct 2017)