CVE-2026-5172
CVE-2026-5172
- State
- Published
- Severity
- 7.3 High
- Published
- May 11, 2026
- Updated
- Sep 1, 2026
- Reserved
- Mar 30, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 3.1 | 7.3 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
| 3.1 | 7.5 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H | redhat-SADP |
Weaknesses
- CWE-125 Out-of-bounds Read
Affected Products
| Product | Versions |
|---|---|
dnsmasqdnsmasq |
|
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-5172vdb-entry
- RHBZ#2458521issue-tracking
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json
- https://access.redhat.com/errata/RHSA-2026:19158vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.