Back
CVE-2017-13704
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…
High7.5EPSS 65.4%
- Published
- Updated
- Reserved
- Assigned by
- mitre
Description
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 65.4% · top 0.7% of all CVEs (4 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
References (12)
- 1039474 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- https://www.synology.com/support/security/Synology_SA_17_59_Dnsmasq (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://access.redhat.com/security/vulnerabilities/3199382 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 101085 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 101977 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- FEDORA-2017-274d763ed8 (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
- [dnsmasq-discuss] 20171002 Announce: dnsmasq-2.78. (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- http://thekelleys.org.uk/gitweb/?p=dnsmasq.git%3Ba=commit%3Bh=63437ffbb58837b214b4b92cb1c54bc5f3279928 (opens in a new tab)x_refsource_CONFIRMx_transferred
- http://thekelleys.org.uk/dnsmasq/CHANGELOG (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://security.googleblog.com/2017/10/behind-masq-yet-more-dns-and-dhcp.html (opens in a new tab)x_refsource_MISCx_transferred
- [dnsmasq-discuss] 20171002 IMPORTANT SECURITY INFORMATION. (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- https://cert-portal.siemens.com/productcert/pdf/ssa-689071.pdf (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2017-13704)Record last updated .