VDB
CVE-2026-5172
CVE-2026-5172
PUBLISHED
CVSS 7.3 HIGH
Reported by certcc · Published May 11, 2026
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| dnsmasq-utils | Amazon Linux | 2.90-1.amzn2023.0.3 |
| dnsmasq | Chainguard | 2.93-r0 |
| dnsmasq | errata.rockylinux.org | 2.90-7.el10 |
| dnsmasq-utils | errata.rockylinux.org | 2.90-7.el10 |
| dnsmasq-debuginfo | errata.rockylinux.org | 2.90-7.el10 |
| dnsmasq-debugsource | errata.rockylinux.org | 2.90-7.el10 |
| dnsmasq | dnsmasq | 2.92rel2 |
Risk scores
CVSS 3.1
7.3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Affected products
| Vendor | Product | Versions |
|---|---|---|
| dnsmasq | dnsmasq | 0 |
| amazon:2023 | dnsmasq-utils | 0 |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| dnsmasq | dnsmasq | 0 |
| chainguard | dnsmasq | 0 |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux AppStream (v. 10) | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| amazon:2023 | dnsmasq | 0 |
| alpine | dnsmasq | 0, 0 |
| Red Hat | Red Hat Enterprise Linux 10 | 0:2.90-7.el10_2 |
| Red Hat | Red Hat Enterprise Linux 6 | |
| wolfi | dnsmasq | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 8 |
Timeline
- May 11, 2026 CVE Published
- May 11, 2026 PoC Published (2 in total, the first dated here)
- May 12, 2026 Security Advisory (10 in total, the first dated here)
- May 13, 2026 EPSS Score (30 in total, the first dated here)
- May 19, 2026 Distribution Patch (6 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2026-5172
vulnetix vdb fixes CVE-2026-5172
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2026-5172/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart