VDB

ALPINE-CVE-2017-13704

ALPINE-CVE-2017-13704 PUBLISHED CVSS 7.5 HIGH

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.

Risk Scores

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

Affected Products

VendorProductVersions
Alpine:v3.10dnsmasq2.76-r2, 2.77-r0, 2.70-r0
Alpine:v3.19dnsmasq0, 0, 0
Alpine:v3.20dnsmasq0, 0, 0
Alpine:v3.21dnsmasq0, 0, 0
Alpine:v3.18dnsmasq0, 0, 0
Alpine:v3.16dnsmasq0, 0, 0
Alpine:v3.15dnsmasq0, 0, 0
Alpine:v3.23dnsmasq0, 0, 0
Alpine:v3.11dnsmasq2.67-r0, 0, 0
Alpine:v3.7dnsmasq2.76-r3, 0, 2.47-r0
Alpine:v3.22dnsmasq0, 0, 0
Alpine:v3.9dnsmasq2.50-r1, 0, 2.46-r0
Alpine:v3.13dnsmasq2.71-r0, 0, 2.46-r0
Alpine:v3.14dnsmasq2.52-r0, 2.76-r3, 2.76-r2
Alpine:v3.8dnsmasq2.50-r1, 2.46-r0, 2.47-r0
Alpine:v3.24dnsmasq0, 0
Alpine:v3.12dnsmasq2.66-r0, 2.65-r0, 2.64-r0
Alpine:v3.17dnsmasq0, 0, 0

Timeline

  • Oct 3, 2017 CVE Published
  • Apr 30, 2026 Distribution Patch
  • Jun 15, 2026 CVE Updated
Open in Interactive Console →
$ Console Community · 100/wk Open console ›