| Name | CVE-2026-5172 |
| Description | A buffer overflow in dnsmasq’s extract_addresses() function allows an attacker to trigger a heap out-of-bounds read and crash by exploiting a malformed DNS response, enabling extract_name() to advance the pointer past the record’s end. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | DSA-6264-1 |
The table below lists information on source packages.
| Source Package | Release | Version | Status |
|---|---|---|---|
| dnsmasq (PTS) | bullseye | 2.85-1 | vulnerable |
| bullseye (security) | 2.85-1+deb11u1 | vulnerable | |
| bookworm, bookworm (security) | 2.90-4~deb12u2 | fixed | |
| trixie (security), trixie | 2.91-1+deb13u1 | fixed | |
| forky, sid | 2.92-5 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| dnsmasq | source | bookworm | 2.90-4~deb12u2 | DSA-6264-1 | ||
| dnsmasq | source | trixie | 2.91-1+deb13u1 | DSA-6264-1 | ||
| dnsmasq | source | (unstable) | 2.92-5 |
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=073082ddc0aba7b8efa15a688d6183463b65effa (v2.93rc1)