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

CVE-2017-14492: dnsmasq IPv6 router advertisement heap buffer overflow

Canonical, Ubuntu Linux

dnsmasq before 2.78 contains a heap-based buffer overflow reachable through a crafted IPv6 router advertisement request. A remote, unauthenticated attacker can crash the service or potentially execute arbitrary code, which matters because dnsmasq is widely deployed as a DNS/DHCP forwarder on routers, appliances and Linux distributions.

  • 9.8 CVSS 3.0 Critical
  • EPSS 94%, top 0.1%
  • CWE-119, Memory buffer overflow

Description

Heap-based buffer overflow in dnsmasq before 2.78 allows remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted IPv6 router advertisement request.

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

Automated analysis

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

Critical priorityCVSS 9.8 with network reachability, no authentication, and a very high EPSS score plus a public exploit make this a top remediation priority despite absence from KEV.

What it is

dnsmasq before 2.78 contains a heap-based buffer overflow reachable through a crafted IPv6 router advertisement request. A remote, unauthenticated attacker can crash the service or potentially execute arbitrary code, which matters because dnsmasq is widely deployed as a DNS/DHCP forwarder on routers, appliances and Linux distributions.

Impact

An attacker can cause a denial of service by crashing dnsmasq, or potentially execute arbitrary code in the context of the dnsmasq process. Because dnsmasq often runs with elevated privileges on network edge devices, code execution could compromise the host.

Attack surface

The flaw is reached over the network via a crafted IPv6 router advertisement request, per the CVSS vector AV:N/AC:L/PR:N/UI:N, so no authentication or user interaction is required. Any dnsmasq instance processing IPv6 router advertisements on a reachable network segment is exposed.

Exploitation

CISA KEV does not list this CVE, but EPSS is very high (0.933 probability, 99.8th percentile) and a public Exploit-DB entry (42942) exists, indicating mature public exploitation activity.

What to do

  • Upgrade dnsmasq to 2.78 or later, or apply the vendor patches referenced in RHSA-2017:2836/2837, USN-3430-1/2 and DSA-3989.
  • If immediate patching is not possible, disable or filter IPv6 router advertisement handling on dnsmasq instances that do not require it.
  • Restrict network access to dnsmasq listeners so only trusted segments can send IPv6 router advertisements.
  • Run dnsmasq with the least privilege available and monitor for unexpected process crashes or restarts.

Detection

  • Monitor dnsmasq logs and system logs for crashes, segfaults or unexpected restarts that could indicate exploitation attempts.
  • Alert on anomalous IPv6 router advertisement traffic reaching dnsmasq hosts, especially from untrusted segments.
  • Use host-based detection for suspicious child processes or outbound connections spawned by the dnsmasq process.

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

Affected products

6 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=24036ea507862c7b7898b68289c8130f85599c10
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.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/errata/RHSA-2017:2837 PatchThird Party Advisory
https://access.redhat.com/security/vulnerabilities/3199382 Issue TrackingThird Party Advisory
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://www.exploit-db.com/exploits/42942/ 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=24036ea507862c7b7898b68289c8130f85599c10
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.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/errata/RHSA-2017:2837 PatchThird Party Advisory
https://access.redhat.com/security/vulnerabilities/3199382 Issue TrackingThird Party Advisory
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://www.exploit-db.com/exploits/42942/ 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

Track CVE-2017-14492 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.

10.0CVE-2009-0846Mit kerberos 5 vulnerabilityThe asn1_decode_generaltime function in lib/krb5/asn.1/asn1_decode.c in the ASN.1 GeneralizedTime decoder in MIT Kerberos 5 (aka krb5) before 1.6.4 a…EPSS 8.9%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%10.0CVE-2005-2700Apache http server vulnerabilityssl_engine_kernel.c in mod_ssl before 2.8.24, when using "SSLVerifyClient optional" in the global virtual host configuration, does not properly enfor…EPSS 31%10.0CVE-2004-0882Samba vulnerabilityBuffer overflow in the QFILEPATHINFO request handler in Samba 3.0.x through 3.0.7 may allow remote attackers to execute arbitrary code via a TRANSACT…EPSS 14%10.0CVE-2004-0888Easy software products cups vulnerabilityMultiple integer overflows in xpdf 2.0 and 3.0, and other packages that use xpdf code such as CUPS, gpdf, and kdegraphics, allow remote attackers to …EPSS 9.5%10.0CVE-2004-0889Easy software products cups vulnerabilityMultiple integer overflows in xpdf 3.0, and other packages that use xpdf code such as CUPS, allow remote attackers to cause a denial of service (cras…EPSS 6.2%

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