CVE-2026-2291

NameCVE-2026-2291
Descriptiondnsmasqs extract_name() function can be abused to cause a heap buffer overflow, allowing an attacker to inject false DNS cache entries, which could result in DNS lookups to redirect to an attacker-controlled IP address, or to cause a DoS.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-6264-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
dnsmasq (PTS)bullseye2.85-1vulnerable
bullseye (security)2.85-1+deb11u1vulnerable
bookworm, bookworm (security)2.90-4~deb12u2fixed
trixie (security), trixie2.91-1+deb13u1fixed
forky, sid2.92-5fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
dnsmasqsourcebookworm2.90-4~deb12u2DSA-6264-1
dnsmasqsourcetrixie2.91-1+deb13u1DSA-6264-1
dnsmasqsource(unstable)2.92-5

Notes

https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
https://xchglabs.com/blog/dnsmasq-five-cves.html
Fixed by: https://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=014e909f787e808bb35daa546d3f8f3663918de2 (v2.93rc1)

Search for package or bug name: Reporting problems