Vulnerability · Published May 11, 2026 · Assigned by certcc
CVE-2026-5172CVE-2026-5172
High 7.3
In plain English
A high-severity out-of-bounds read in dnsmasq from dnsmasq. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 2.7% (higher than 86% of all known vulnerabilities). Ready-made attack tooling exists: public proof-of-concept code. Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)7.3High
Exploit odds (30 days)2.7%top 14.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Public PoC
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:10 | dnsmasq | 2.90-7.el10_2 | ALSA-2026:19158 |
| AlmaLinux:10 | dnsmasq-utils | 2.90-7.el10_2 | ALSA-2026:19158 |
| Alpine:v3.22 | dnsmasq | 2.91-r1 | ALPINE-CVE-2026-5172 |
| Alpine:v3.23 | dnsmasq | 2.91-r1 | ALPINE-CVE-2026-5172 |
| Alpine:v3.24 | dnsmasq | 2.92_p2-r0 | ALPINE-CVE-2026-5172 |
| Debian:12 | dnsmasq | 2.90-4~deb12u2 | DEBIAN-CVE-2026-5172 |
| Debian:13 | dnsmasq | 2.91-1+deb13u1 | DEBIAN-CVE-2026-5172 |
| Debian:14 | dnsmasq | 2.92-5 | DEBIAN-CVE-2026-5172 |
| Rocky Linux:10 | dnsmasq | 0:2.90-7.el10_2 | RLSA-2026:19158 |
| Ubuntu:22.04:LTS | dnsmasq | 2.90-0ubuntu0.22.04.3 | UBUNTU-CVE-2026-5172 |
| Ubuntu:24.04:LTS | dnsmasq | 2.90-2ubuntu0.3 | UBUNTU-CVE-2026-5172 |
| Ubuntu:25.10 | dnsmasq | 2.91-1ubuntu0.2 | UBUNTU-CVE-2026-5172 |
| Ubuntu:26.04:LTS | dnsmasq | 2.92-1ubuntu0.2 | UBUNTU-CVE-2026-5172 |
Affected products (as reported)
Weakness: CWE-125 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
References
- https://www.kb.cert.org/vuls/id/471747
- https://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/2026q2/018471.html
- https://thekelleys.org.uk/dnsmasq/CVE/
- https://github.com/NixOS/nixpkgs/pull/519082
- https://github.com/NixOS/nixpkgs/pull/519093
- https://github.com/pi-hole/FTL/releases/tag/v6.6.2
- https://access.redhat.com/security/cve/CVE-2026-5172 vdb-entry, x_refsource_REDHAT
- RHBZ#2458521 issue-tracking, x_refsource_REDHAT
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json x_sadp-csaf-vex
- https://access.redhat.com/errata/RHSA-2026:19158 vendor-advisory, x_refsource_REDHAT