DescriptionInteger underflow in the add_pseudoheader function in dnsmasq before 2.78 , when the --add-mac, --add-cpe-id or --add-subnet option is specified, allows remote attackers to cause a denial of service via a crafted DNS request.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
NVD severityhigh (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dnsmasq (PTS)wheezy2.62-3+deb7u3fixed
wheezy (security)2.62-3+deb7u4fixed
jessie (security), jessie2.72-3+deb8u2fixed
stretch (security), stretch2.76-5+deb9u1fixed
buster, sid2.78-3fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dnsmasqsourcejessie(not affected)
dnsmasqsourcewheezy(not affected)


[jessie] - dnsmasq <not-affected> (Vulnerable code introduced later)
[wheezy] - dnsmasq <not-affected> (Vulnerable code introduced later);a=commit;h=897c113fda0886a28a986cc6ba17bb93bd6cb1c7

Search for package or bug name: Reporting problems