# CVE-2026-5172: CVE-2026-5172

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.3 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 3% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 2.92rel2 (CNA); fix release not confirmed
- Status: published
- Published: 2026-05-11 · Modified: 2026-09-01
- Aliases: ALPINE-CVE-2026-5172, UBUNTU-CVE-2026-5172, DEBIAN-CVE-2026-5172, CGA-45f5-m9c6-7x9w, CGA-6x3q-xpqp-rhr9, CGA-mjj7-m5qc-5f84, CGA-qr94-72v9-hwxq
- Record: https://cvemate.com/vulnerability/CVE-2026-5172 · JSON: https://cvemate.com/vulnerability/CVE-2026-5172/json

## Description

```text
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.
```

## Signals

- CVSS: 7.3 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
- EPSS: 2.683%, percentile 86.321%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine dnsmasq (Alpine Linux): \< 2.91-r1 \| \< 2.92\_p2-r0
- chainguard dnsmasq (Chainguard): \< 2.93-r0
- chainguard dnsmasq-doc (Chainguard): \< 2.93-r0
- wolfi dnsmasq (Wolfi): \< 2.93-r0
- wolfi dnsmasq-doc (Wolfi): \< 2.93-r0
- debian dnsmasq (Debian): \< 2.90-4~deb12u2 \| \< 2.91-1+deb13u1 \| \< 2.92-5
- ubuntu dnsmasq (Ubuntu): \< 2.90-0ubuntu0.16.04.1+esm3 \| \< 2.90-0ubuntu0.18.04.1+esm3 \| \< 2.90-0ubuntu0.20.04.1+esm2 \| \< 2.90-0ubuntu0.22.04.3 \| \< 2.90-2ubuntu0.3 \| \< 2.91-1ubuntu0.2 \| \< 2.92-1ubuntu0.2
- dnsmasq dnsmasq: \< 2.92rel2

## 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>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2458521>
- <https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-5172.json>
- <https://access.redhat.com/errata/RHSA-2026:19158>
- <https://security.alpinelinux.org/vuln/CVE-2026-5172>
- <https://ubuntu.com/security/CVE-2026-5172>
- <https://www.cve.org/CVERecord?id=CVE-2026-5172>
- <https://ubuntu.com/security/notices/USN-8268-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-5172>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5172.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-5172>

---

Data as of 2026-12-05T03:06:52.352Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
