BREACHSPIDER
CVE databaseVendorsIntelFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2026-5172 in Dnsmasq products

High 7.3

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.

Affects 0 products from 1 vendor. Facts below cite their sources.

CVSS 3.17.3
EPSS0.7%
EPSS percentile48th
FixUnknown

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component.

Affected products and versions

VendorProductAffected versions
Dnsmasq — —

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

No official vendor advisory link on record. See the CVE record.

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official 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.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2026-5172
BreachSpider IDBS-2026-GLOBAL-270088-H
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Published2026-05-11
Last modified2026-05-13
SourceNVD

Analysis AI-written, not human-reviewed

A buffer overflow vulnerability in dnsmasq's extract_addresses() function can be exploited by an attacker to cause a heap out-of-bounds read and crash the service by sending a malformed DNS response.

The vulnerability arises from improper bounds checking in the extract_addresses() function when processing DNS responses. An attacker can craft a DNS response that causes the function to read beyond the allocated buffer, leading to a heap out-of-bounds read and potential service crash.

Questions

What is CVE-2026-5172?

A buffer overflow vulnerability in dnsmasq's extract_addresses() function can be exploited by an attacker to cause a heap out-of-bounds read and crash the service by sending a malformed DNS response.

What is the CVSS score for CVE-2026-5172?

CVE-2026-5172 has CVSS 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L. EPSS: 0.7%.

Is CVE-2026-5172 actively exploited?

No confirmed active exploitation of CVE-2026-5172 as of 2026-05-30.

How do I remediate CVE-2026-5172?

Priority: HIGH.

What systems are affected by CVE-2026-5172?

CVE-2026-5172 affects Dnsmasq.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Dnsmasq","product":"EDS-518A","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-05-13.