CVE-2017-13704 in Canonical Ubuntu Linux and 13 more products
High 7.5
Industrial / OT
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.
Affects 14 products from 7 vendors. Description from NVD and MITRE.
CVSS 3.07.5
EPSS65.4%
EPSS percentile99th
Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, no confidentiality impact, no integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Canonical | Ubuntu Linux | 14.04 16.04 17.04 |
| Debian | Debian Linux | 7.0 7.1 9.0 |
| Fedoraproject | Fedora | 27 |
| Novell | Leap | 42.2 42.3 |
| Redhat | Enterprise Linux Workstation | 7.0 |
| Redhat | Enterprise Linux Server | 7.0 |
| Redhat | Enterprise Linux Desktop | 7.0 |
| Siemens | SCALANCE W1750D (device and firmware) | < 6.5.1.5 |
| Siemens | RUGGEDCOM RM1224 (device and firmware) | < 5.0 |
| Siemens | SCALANCE M-800 (device and firmware) | < 5.0 |
| Thekelleys | Dnsmasq | ≤ 2.77 |
Fix and vendor advisory
- Siemens RUGGEDCOM RM1224: All versions before V5.0, Siemens SCALANCE M-800 / S615: All versions before V5.0: Update to V5.0 or later version https://support.industry.siemens.com/cs/ww/en/view/109757544
- Siemens SCALANCE W1750D: All versions before V6.5.1.5: Update to V6.5.1.5 or later version https://support.industry.siemens.com/cs/ww/en/view/109778052
Source: ICSA-17-332-01
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2017-13704 |
|---|---|
| BreachSpider ID | BS-2017-GLOBAL-232241-H |
| CVSS vector | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| Published | 2017-10-03 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.