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.

PackageEcosystemFixed in
dnsmasq-utilsAmazon Linux2.90-1.amzn2023.0.3
dnsmasqChainguard2.93-r0
dnsmasqerrata.rockylinux.org2.90-7.el10
dnsmasq-utilserrata.rockylinux.org2.90-7.el10
dnsmasq-debuginfoerrata.rockylinux.org2.90-7.el10
dnsmasq-debugsourceerrata.rockylinux.org2.90-7.el10
dnsmasqdnsmasq2.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

VendorProductVersions
dnsmasqdnsmasq0
amazon:2023dnsmasq-utils0
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 7
dnsmasqdnsmasq0
chainguarddnsmasq0
Red HatRed Hat Enterprise Linux 7
Red HatRed Hat OpenShift Container Platform 4
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux AppStream (v. 10)
Red HatRed Hat Enterprise Linux 9
Red HatRed Hat Enterprise Linux 6
amazon:2023dnsmasq0
alpinednsmasq0, 0
Red HatRed Hat Enterprise Linux 100:2.90-7.el10_2
Red HatRed Hat Enterprise Linux 6
wolfidnsmasq0
Red HatRed Hat Enterprise Linux 8
Red HatRed Hat OpenShift Container Platform 4
Red HatRed 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

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›