Back

HIGH

dnsmasq: Size parameter overflow via large DNS query

Published Oct 2, 2017

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.

Affected products

Remediation

No remediation recorded yet.

Metrics

References (16)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mitre
Published Oct 2, 2017
Updated Aug 5, 2024
Reserved Aug 25, 2017
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Aug 21, 2017