Security mailing lists by PureSourceCode

CVE-2017-13704

HIGH 7.5CVSS 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
NVDJSON

Scores

SourceScored byVersionScoreVector / 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:H
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:*
= 14.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:*
= 16.04
NVD canonical ubuntu_linux
cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:*
= 17.04
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:*
= 7.0
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:7.1:*:*:*:*:*:*:*
= 7.1
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:*
= 9.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:*
= 27
NVD novell leap
cpe:2.3:o:novell:leap:42.2:*:*:*:*:*:*:*
= 42.2
NVD novell leap
cpe:2.3:o:novell:leap:42.3:*:*:*:*:*:*:*
= 42.3
NVD redhat enterprise_linux_desktop
cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_server
cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:*
= 7.0
NVD redhat enterprise_linux_workstation
cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:*
= 7.0
NVD thekelleys dnsmasq
cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:*
<= 2.77

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 3 Oct 2017)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.