Vulnerabilities/CVE-2017-14496, published 3 October 2017

CVE-2017-14496: dnsmasq add_pseudoheader integer underflow allows remote DoS

Canonical, Ubuntu Linux

dnsmasq before 2.78 contains an integer underflow in the add_pseudoheader function when the --add-mac, --add-cpe-id or --add-subnet option is enabled. A crafted DNS request triggers the underflow and crashes the resolver, disrupting DNS service for everything that depends on it.

  • 7.5 CVSS 3.0 High
  • EPSS 69%, top 0.6%
  • CWE-191, CWE-191

Description

Integer underflow in the add_pseudoheader function in dnsmasq before 2.78 , when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service via a crafted DNS request.

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 19 September 2026. Confidence: high.

High priorityRemote, unauthenticated, low-complexity availability impact with a public exploit and very high EPSS, though no KEV listing and no code execution.

What it is

dnsmasq before 2.78 contains an integer underflow in the add_pseudoheader function when the --add-mac, --add-cpe-id or --add-subnet option is enabled. A crafted DNS request triggers the underflow and crashes the resolver, disrupting DNS service for everything that depends on it.

Impact

A remote, unauthenticated attacker can crash the dnsmasq process, causing denial of service for DNS resolution and any DHCP/DNS-dependent services on the host. No confidentiality or integrity impact is described; only availability is affected.

Attack surface

Reachable over the network by sending a crafted DNS request to a dnsmasq instance configured with --add-mac, --add-cpe-id or --add-subnet. No authentication or user interaction is required per the CVSS vector (AV:N/AC:L/PR:N/UI:N).

Exploitation

Not listed in CISA KEV, but EPSS is 0.66347 (99.2nd percentile) and a public Exploit-DB entry (42946) exists, indicating mature, widely available exploit code.

What to do

  • Upgrade dnsmasq to 2.78 or later, or apply the vendor patch for your distribution (Red Hat RHSA-2017:2836, Debian DSA-3989, Ubuntu USN-3430-1/2).
  • If patching is delayed, disable the --add-mac, --add-cpe-id and --add-subnet options where they are not strictly required.
  • Restrict DNS service exposure to trusted networks and block untrusted UDP/TCP port 53 access at the perimeter.
  • Monitor dnsmasq process restarts or crashes and treat repeated failures as a possible exploitation attempt.

Detection

  • Alert on dnsmasq process crashes, core dumps or unexpected restarts in system logs.
  • Inspect DNS query logs for malformed or unusual EDNS Client Subnet, MAC or CPE-ID option payloads reaching dnsmasq.
  • Use the public Exploit-DB PoC (42946) to build IDS/IPS signatures for the crafted request pattern.
  • Track availability gaps in DNS resolution from hosts that rely on the affected dnsmasq instance.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

8 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00006.html Issue TrackingMailing ListThird Party Advisory
http://nvidia.custhelp.com/app/answers/detail/a_id/4561
http://thekelleys.org.uk/dnsmasq/CHANGELOG Release NotesVendor Advisory
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=897c113fda0886a28a986cc6ba17bb93bd6cb1c7
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-005.txt
http://www.debian.org/security/2017/dsa-3989 Third Party Advisory
http://www.securityfocus.com/bid/101085 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/101977
http://www.securitytracker.com/id/1039474 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-3430-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3430-2 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2836 PatchThird Party Advisory
https://access.redhat.com/security/vulnerabilities/3199382 Issue TrackingThird Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
https://security.gentoo.org/glsa/201710-27
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html Third Party Advisory
https://source.android.com/security/bulletin/2017-10-01 Third Party Advisory
https://www.exploit-db.com/exploits/42946/ Third Party AdvisoryVDB Entry
https://www.kb.cert.org/vuls/id/973527 Third Party AdvisoryUS Government Resource
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11664.html
https://www.mail-archive.com/dnsmasq-discuss%40lists.thekelleys.org.uk/msg11665.html
https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq
http://lists.opensuse.org/opensuse-security-announce/2017-10/msg00006.html Issue TrackingMailing ListThird Party Advisory
http://nvidia.custhelp.com/app/answers/detail/a_id/4561
http://thekelleys.org.uk/dnsmasq/CHANGELOG Release NotesVendor Advisory
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=897c113fda0886a28a986cc6ba17bb93bd6cb1c7
http://www.arubanetworks.com/assets/alert/ARUBA-PSA-2017-005.txt
http://www.debian.org/security/2017/dsa-3989 Third Party Advisory
http://www.securityfocus.com/bid/101085 Third Party AdvisoryVDB Entry
http://www.securityfocus.com/bid/101977
http://www.securitytracker.com/id/1039474 Third Party AdvisoryVDB Entry
http://www.ubuntu.com/usn/USN-3430-1 Third Party Advisory
http://www.ubuntu.com/usn/USN-3430-2 Third Party Advisory
https://access.redhat.com/errata/RHSA-2017:2836 PatchThird Party Advisory
https://access.redhat.com/security/vulnerabilities/3199382 Issue TrackingThird Party Advisory
https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf
https://security.gentoo.org/glsa/201710-27
https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html Third Party Advisory
https://source.android.com/security/bulletin/2017-10-01 Third Party Advisory
https://www.exploit-db.com/exploits/42946/ Third Party AdvisoryVDB Entry

Track CVE-2017-14496 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

7.8CVE-2011-1823Android vold integer overflow allows local root privilege escalationThe vold volume manager daemon on Android 3.0 and 2.x before 2.3.4 trusts messages received over a PF_NETLINK socket and fails to validate a negative…KEVEPSS 42%analysed10.0CVE-2014-7917Google android vulnerabilityInteger overflow in SampleTable.cpp in libstagefright in Android before 5.0.0 has unspecified impact and attack vectors, aka internal bug 15342615.EPSS 0.62%10.0CVE-2014-7916Google android vulnerabilityInteger overflow in SampleTable.cpp in libstagefright in Android before 5.0.0 has unspecified impact and attack vectors, aka internal bug 15342751.EPSS 0.62%10.0CVE-2014-7915Google android vulnerabilityInteger overflow in SampleTable.cpp in libstagefright in Android before 5.0.0 has unspecified impact and attack vectors, aka internal bug 15328708.EPSS 0.62%10.0CVE-2011-2344Google android vulnerabilityAndroid Picasa in Android 3.0 and 2.x through 2.3.4 uses a cleartext HTTP session when transmitting the authToken obtained from ClientLogin, which al…EPSS 1.1%10.0CVE-2007-0061Vmware ace memory buffer overflow vulnerabilityThe DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 56455 and Player 2 bef…EPSS 6.5%10.0CVE-2007-0063Vmware ace vulnerabilityInteger underflow in the DHCP server in EMC VMware Workstation before 5.5.5 Build 56455 and 6.x before 6.0.1 Build 55017, Player before 1.0.5 Build 5…EPSS 20%10.0CVE-2007-0956Mit kerberos 5 missing authentication for critical function vulnerabilityThe telnet daemon (telnetd) in MIT krb5 before 1.6.1 allows remote attackers to bypass authentication and gain system access via a username beginning…EPSS 30%

Source: NIST National Vulnerability Database (record CVE-2017-14496), CISA KEV, FIRST EPSS (scores of 2026-12-05). This page is refreshed as NVD updates the record.