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 v3.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.75-r1, 2.76-r0, 2.76-r1
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.73-r0, 2.77-r0, 2.76-r4
Alpine:v3.7dnsmasq2.76-r0, 0, 2.47-r0
Alpine:v3.22dnsmasq0, 0, 0
Alpine:v3.9dnsmasq2.46-r0, 0, 2.46-r0
Alpine:v3.13dnsmasq2.63-r0, 0, 2.46-r0
Alpine:v3.14dnsmasq2.52-r1, 2.75-r0, 2.73-r0
Alpine:v3.8dnsmasq2.52-r1, 2.46-r0, 2.47-r0
Alpine:v3.12dnsmasq2.65-r0, 2.63-r0, 2.62-r0
Alpine:v3.17dnsmasq0, 0, 0

Timeline

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