CVE-2026-5172 CVE-2026-5172
HighCVSS 7.5
EPSS 2.7%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| dnsmasq | < 2.92rel2 | 2.92rel2 |
| redhat enterprise linux | < 0:2.90-7.el10_2 | 0:2.90-7.el10_2 |
| redhat enterprise linux | = 6 | No fix listed |
| redhat enterprise linux | = 7 | No fix listed |
| redhat enterprise linux | All versions | No fix listed |
| redhat openshift | = 4 | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:10.2) | < 2.90-7.el10_2 | 2.90-7.el10_2 |
| redhat/dnsmasq(Red Hat:enterprise_linux_eus:10.0) | < 2.90-4.el10_0.1 | 2.90-4.el10_0.1 |
| redhat/dnsmasq(Red Hat:rhel_els:6) | All versions | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:8) | All versions | No fix listed |
| redhat/dnsmasq(Red Hat:enterprise_linux:9) | All versions | No fix listed |
| redhat/openshift/ose-rhel-coreos-8(Red Hat:openshift:4) | All versions | No fix listed |
| debian/dnsmasq(Debian:12) | < 2.90-4~deb12u2 | 2.90-4~deb12u2 |
| debian/dnsmasq(Debian:12) | = 2.89-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-1 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-2 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-3 | No fix listed |
| debian/dnsmasq(Debian:12) | = 2.90-4~deb12u1 | No fix listed |
| debian/dnsmasq(Debian:13) | < 2.91-1+deb13u1 | 2.91-1+deb13u1 |
| debian/dnsmasq(Debian:13) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:14) | < 2.92-5 | 2.92-5 |
| debian/dnsmasq(Debian:14) | = 2.91-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1+exp1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-1~exp1 | No fix listed |
Show 13 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/dnsmasq(Debian:14) | = 2.92-2 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-3 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92-4 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc1-1 | No fix listed |
| debian/dnsmasq(Debian:14) | = 2.92~rc3-1 | No fix listed |
| ubuntu/dnsmasq(Ubuntu:22.04) | < 2.90-0ubuntu0.22.04.3 | 2.90-0ubuntu0.22.04.3 |
| alpine/dnsmasq(Alpine:v3.22) | < 2.91-r1 | 2.91-r1 |
| alpine/dnsmasq(Alpine:v3.23) | < 2.91-r1 | 2.91-r1 |
| alpine/dnsmasq(Alpine:v3.24) | < 2.92_p2-r0 | 2.92_p2-r0 |
| ubuntu/dnsmasq(Ubuntu:24.04) | < 2.90-2ubuntu0.3 | 2.90-2ubuntu0.3 |
| ubuntu/dnsmasq(Ubuntu:26.04) | < 2.92-1ubuntu0.2 | 2.92-1ubuntu0.2 |
| azure linux dnsmasq(Azure Linux:3.0) | < 2.92-1 | 2.92-1 |
| azure linux dnsmasq(Azure Linux:4.0) | < 0:2.92rel2-2 | 0:2.92rel2-2 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- www.kb.cert.org
- lists.thekelleys.org.uk
- thekelleys.org.uk
- github.com
- github.com
- github.com
- Red Hat CVE page vdb-entry vendor-advisory
- RHBZ#2458521 issue-tracking
- security.access.redhat.com
- RHSA-2026:19158 patch vendor-advisory
- RHSA-2026:92677 patch vendor-advisory
- www.cve.org
- nvd.nist.gov
- Debian Security Tracker CVE-2026-5172 vendor-advisory
- Ubuntu CVE tracker vendor-advisory
- USN-8268-1 vendor-advisory
- security.alpinelinux.org vendor-advisory