CVE-2026-5172
Fixed in a distro release EPSS 3%CVSS 7.3
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.
Products: dnsmasq, Red Hat Enterprise Linux 10, Red Hat Enterprise Linux 6, Red Hat Enterprise Linux 7, Red Hat Enterprise Linux 8, Red Hat Enterprise Linux 9, Red Hat OpenShift Container Platform 4
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 10 | dnsmasq | 2.90-7.el10_2 |
| AlmaLinux 10 | dnsmasq-utils | 2.90-7.el10_2 |
| Alpine 3.22 | dnsmasq | 2.91-r1 |
| Alpine 3.23 | dnsmasq | 2.91-r1 |
| Alpine 3.24 | dnsmasq | 2.92_p2-r0 |
| Amazon Linux 2023 | dnsmasq | 2.90-1.amzn2023.0.3 |
| Amazon Linux 2023 | dnsmasq-utils | 2.90-1.amzn2023.0.3 |
| Chainguard | dnsmasq | 2.93-r0 |
| Chainguard | dnsmasq-doc | 2.93-r0 |
| Debian 12 | dnsmasq | 2.90-4~deb12u2 |
| Debian 13 | dnsmasq | 2.91-1+deb13u1 |
| Debian 14 | dnsmasq | 2.92-5 |
| Red Hat Enterprise Linux 10.2 | dnsmasq | 0:2.90-7.el10_2 |
| Red Hat Enterprise Linux 10.2 | dnsmasq-debuginfo | 0:2.90-7.el10_2 |
| Red Hat Enterprise Linux 10.2 | dnsmasq-debugsource | 0:2.90-7.el10_2 |
| Red Hat Enterprise Linux 10.2 | dnsmasq-utils | 0:2.90-7.el10_2 |
| Red Hat Enterprise Linux 10.2 | dnsmasq-utils-debuginfo | 0:2.90-7.el10_2 |
| Rocky Linux 10 | dnsmasq | 0:2.90-7.el10_2 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | dnsmasq | 2.92rel2-18.27.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | dnsmasq | 2.92rel2-18.27.1 |
| Ubuntu 22.04 LTS | dnsmasq | 2.90-0ubuntu0.22.04.3 |
| Ubuntu 24.04 LTS | dnsmasq | 2.90-2ubuntu0.3 |
| Ubuntu 25.10 | dnsmasq | 2.91-1ubuntu0.2 |
| Ubuntu 26.04 LTS | dnsmasq | 2.92-1ubuntu0.2 |
| Ubuntu Pro 14.04 LTS | dnsmasq | 2.68-1ubuntu0.2+esm5 |
| Ubuntu Pro 16.04 LTS | dnsmasq | 2.90-0ubuntu0.16.04.1+esm3 |
| Ubuntu Pro 18.04 LTS | dnsmasq | 2.90-0ubuntu0.18.04.1+esm3 |
| Ubuntu Pro 20.04 LTS | dnsmasq | 2.90-0ubuntu0.20.04.1+esm2 |
| Wolfi | dnsmasq | 2.93-r0 |
| Wolfi | dnsmasq-doc | 2.93-r0 |
| openSUSE Tumbleweed | dnsmasq | 2.92rel2-1.1 |