Dnsmasq
CVE-2026-5172
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by CISA ADP · CWE-787
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
dnsmasq dnsmasq
- < 2.92rel2
Fixed in 2.92rel2
Mitigation
Upgrade dnsmasq to 2.92rel2 or later.
References
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 pending
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| lottiedeyan/CVE20265172poc | 27 May 2026 +16 d | 0 | Pending · mkdir /quarantine/lottiedeyan__CVE20265172poc-212f9cbb1af8: permission denied |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.