Loading
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.
Use CWE-20, Canonical vendor hub and Ubuntu Linux product page to widen CVE-2017-13704 into its surrounding weakness, vendor, and product context.
Compare it with CVE-2025-32463, CVE-2022-1736 and CVE-2025-33208 for nearby disclosures in the same product family.