CVE-2017-14493 is a stack-based buffer overflow in the DHCPv6 server code of dnsmasq before 2.78. An attacker who can send a DHCPv6 request to dnsmasq can crash it or take control of it. NVD scores it 9.8. It only applies where DHCPv6 is built in and enabled, and Synology lists its SRM 1.1 router firmware as affected.
Vulnerability summary
CVSS base score
9.8
Critical severity
EPSS score (FIRST)
85.2%
Probability of exploitation in the wild in the next 30 days
CISA KEV catalog
No
Not listed
Published
Vulnerability ID: CVE-2017-14493 · Source: NVD
Affected components
| Component | CPE | Version range |
|---|---|---|
| dnsmasq (DHCPv6 server) | cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:* | up to and including 2.77; fixed in 2.78 (NVD, dnsmasq CHANGELOG) |
| Synology Router Manager (SRM) 1.1 | — | fixed in SRM 1.1.5-6542-2 (Synology-SA-17:59) |
| Synology DiskStation Manager (DSM) 5.2, 6.0 and 6.1 | — | only on devices with a Wi-Fi dongle installed; DSM 6.1 fixed in 6.1.3-15152-6 (Synology-SA-17:59) |
What does this mean for affected devices?
CVE-2017-14493 is a stack-based buffer overflow in dnsmasq's DHCPv6 code. NVD describes it as allowing "remote attackers to cause a denial of service (crash) or execute arbitrary code via a crafted DHCPv6 request", records the weakness as CWE-119, and scores it 9.8 (critical) with the CVSS 3.0 vector CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H for dnsmasq up to and including 2.77 (NVD). CERT/CC VU#973527 classifies it more precisely as CWE-121, a stack-based buffer overflow.
The dnsmasq CHANGELOG entry for 2.78 reads: "Fix stack overflow in DHCPv6 code. An attacker who can send a DHCPv6 request to dnsmasq can overflow the stack frame and crash or control dnsmasq." The Google Security Team found it with five other dnsmasq bugs and published proofs of concept on 2017-10-02. Their disclosure calls it "a trivial-to-exploit DHCP-based, stack-based buffer overflow" and adds that, combined with the DHCPv6 information leak CVE-2017-14494, "an attacker could bypass ASLR and gain remote code execution." The same post says dnsmasq is installed in "home routers, and IoT devices".
Reachability is narrower than the NVD vector suggests. DHCPv6 requests come from clients on the local link, so on a router or access point the attacker is any device on the LAN or Wi-Fi network the DHCPv6 server answers. That is why Synology scores the same CVE 8.8 with an adjacent-network vector (AV:A). The attacker does not need credentials, and on a guest or public Wi-Fi network, joining the network is the only step.
Synology-SA-17:59, published 2017-10-03 and last updated 2018-01-12, rates the set Critical and lists Synology Router Manager (SRM) 1.1 and DiskStation Manager (DSM) 5.2, 6.0 and 6.1 as affected on all models. It notes that DSM is only affected on devices with a Wi-Fi dongle installed. The fixes are SRM 1.1.5-6542-2 and DSM 6.1.3-15152-6, and DSM 5.2 users are told to move to 6.0.3-8754-6. CERT/CC VU#973527 lists Ruckus Wireless, Technicolor and ZyXEL as affected vendors for the 2017 dnsmasq set as a whole. Siemens ProductCERT SSA-689071 covers the same release for its SCALANCE and RUGGEDCOM devices, but its CVE list does not include CVE-2017-14493. Vendor advisories differ because DHCPv6 is a build and configuration choice.
So the triage question is whether the firmware runs dnsmasq's DHCPv6 server at all. Our dnsmasq vulnerabilities in embedded firmware guide shows how to read the compile-options string (DHCPv6 versus no-DHCPv6) and the dhcp-range settings from an image. It also explains that OpenWrt's default dnsmasq package is the variant built without DHCPv6. The DNS heap overflow from the same disclosure, CVE-2017-14491, needs no DHCPv6 and so reaches more devices. The memory leak CVE-2017-14495 only matters with the EDNS0 --add-* options.
CVE-2017-14493 is not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). FIRST EPSS gives it 0.852, the 99.7th percentile, in the 2026-11-16 dataset (CISA KEV, FIRST EPSS).
To fix it, move to dnsmasq 2.78 or later, or install the vendor firmware listed above. The Debian Security Tracker shows backports in 2.76-5+deb9u1 for stretch and 2.72-3+deb8u2 for jessie (DSA-3989-1), and marks wheezy not affected because the vulnerable code was introduced later. If the product does not need DHCPv6, ship a build or package variant without it. Our memory corruption fix guide covers stack overflows as a class.
Evidence
- Stack-based buffer overflow in dnsmasq before 2.78 via a crafted DHCPv6 request; CWE-119; CVSS 3.0 9.8 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); dnsmasq up to 2.77. — NVD
- 2.78: fix stack overflow in DHCPv6 code; attacker who can send a DHCPv6 request can crash or control dnsmasq. — dnsmasq CHANGELOG
- Trivial-to-exploit DHCP stack overflow; with CVE-2017-14494 can bypass ASLR for RCE; dnsmasq used in home routers and IoT devices; PoCs published 2017-10-02. — Google Security Blog
- SRM 1.1 and DSM 5.2/6.0/6.1 affected (DSM only with Wi-Fi dongle); CVE-2017-14493 scored 8.8 AV:A; fixes SRM 1.1.5-6542-2, DSM 6.1.3-15152-6; published 2017-10-03, updated 2018-01-12. — Synology-SA-17:59
- CWE-121 for CVE-2017-14493; Ruckus Wireless, Technicolor and ZyXEL listed as affected vendors; fixed in 2.78. — CERT/CC VU#973527
- SSA-689071 lists CVE-2017-13704, -14491, -14495 and -14496 for SCALANCE/RUGGEDCOM devices, not CVE-2017-14493. — Siemens ProductCERT SSA-689071
- Fixed in stretch 2.76-5+deb9u1 and jessie 2.72-3+deb8u2 (DSA-3989-1); wheezy not affected. — Debian Security Tracker
- Not in the CISA KEV catalog as of 2026-11-17 (catalog version 2026.11.13). — CISA KEV
- EPSS 0.852 (99.7th percentile), dataset 2026-11-16, read 2026-11-17. — FIRST EPSS

Related advisories
Sources
- NVD
- Synology-SA-17:59: Dnsmasq
- CERT/CC VU#973527: Dnsmasq contains multiple vulnerabilities
- Google Security Blog: Behind the Masq, yet more DNS and DHCP vulnerabilities
- dnsmasq CHANGELOG
- Siemens ProductCERT SSA-689071: DNSMasq vulnerabilities in SCALANCE W1750D, SCALANCE M-800 / S615 and RUGGEDCOM RM1224
- Debian Security Tracker
- CISA KEV
- FIRST EPSS
Frequently asked questions
Does CVE-2017-14493 affect a device that does not use DHCPv6?
No. The overflow is in dnsmasq's DHCPv6 server code, so a build without DHCPv6, or one where no IPv6 DHCP range is configured, does not run it (per the dnsmasq CHANGELOG and NVD).
Which devices are affected by CVE-2017-14493?
Synology lists Synology Router Manager 1.1, fixed in 1.1.5-6542-2, and DSM on devices with a Wi-Fi dongle. CERT/CC lists Ruckus Wireless, Technicolor and ZyXEL as affected by the 2017 dnsmasq set (per Synology-SA-17:59 and CERT/CC VU#973527).
Why does Synology score CVE-2017-14493 8.8 and NVD 9.8?
NVD uses a network attack vector. Synology uses an adjacent-network vector, because DHCPv6 requests come from clients on the local link (per NVD and Synology-SA-17:59).
Is CVE-2017-14493 in the CISA KEV catalog?
No, not as of 2026-11-17 (catalog version 2026.11.13). FIRST EPSS gives it 0.852, the 99.7th percentile, in the 2026-11-16 dataset (per CISA KEV and FIRST EPSS).
Questions about this page?