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.
Conclusion & alert: CVE-2017-13704 is rated Moderate Risk (63.1/100): CVSS High severity, with high exploitation likelihood (EPSS 77.79%, 99th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-05-28 | 79.32% | 77.79% | -1.53% |
| 2 | 2026-03-25 | 81.75% | 79.32% | -2.44% |
| 3 | 2025-08-30 | — | 81.75% | — |
Full EPSS history (15 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.0 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2017-13704: 1 source package rows (dnsmasq); 10 state rows across 10 repos (3.10-main, 3.11-main, 3.12-main, 3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-main, 3.22-main, edge-main); fixed 10, open 0. | https://security.alpinelinux.org/vuln/CVE-2017-13704 |
debian
|
not yet assigned | CVE-2017-13704 not yet assigned priority: Debian including 1 source packages (dnsmasq), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. | https://security-tracker.debian.org/tracker/CVE-2017-13704 |
redhat
|
high | — | https://access.redhat.com/security/cve/CVE-2017-13704 |
ubuntu
|
high | CVE-2017-13704 high priority: Ubuntu including 1 source packages (dnsmasq), 4 status rows across 4 suites (trusty, upstream, xenial, zesty): not-affected 3, needs-triage 1. | https://ubuntu.com/security/CVE-2017-13704 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| canonical | ubuntu_linux | 14.04 | cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 16.04 | cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
| canonical | ubuntu_linux | 17.04 | cpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:* |
| debian | debian_linux | 7.0 | cpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
| debian | debian_linux | 7.1 | cpe:2.3:o:debian:debian_linux:7.1:*:*:*:*:*:*:* |
| debian | debian_linux | 9.0 | cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
| fedoraproject | fedora | 27 | cpe:2.3:o:fedoraproject:fedora:27:*:*:*:*:*:*:* |
| novell | leap | 42.2 | cpe:2.3:o:novell:leap:42.2:*:*:*:*:*:*:* |
| novell | leap | 42.3 | cpe:2.3:o:novell:leap:42.3:*:*:*:*:*:*:* |
| redhat | enterprise_linux_desktop | 7.0 | cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_server | 7.0 | cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
| redhat | enterprise_linux_workstation | 7.0 | cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
| thekelleys | dnsmasq | <= 2.77 | cpe:2.3:a:thekelleys:dnsmasq:*:*:*:*:*:*:*:* |