LiveActive security incident?Get immediate response
CVE Record

CVE-2026-5172: 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.

HighCVSS 7.5Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

CVE-2026-5172 is a dnsmasq crash vulnerability. A malformed DNS response can make dnsmasq read beyond a heap buffer and terminate, disrupting DNS service. The business impact is availability: affected DNS forwarders can fail without authentication or user interaction.

Executive priority

Treat this as a high-priority availability issue for DNS infrastructure. Prioritize internet-facing, shared, or business-critical dnsmasq deployments, especially where DNS outage would interrupt authentication, service discovery, or customer-facing systems.

Technical view

The issue is in dnsmasq extract_addresses(). A malformed DNS response can cause extract_name() to advance a parsing pointer past the record end, leading to a heap out-of-bounds read and crash. The provided CVSS is 7.5, network exploitable, low complexity, unauthenticated, with high availability impact only.

Likely exposure

Exposure is likely wherever dnsmasq processes DNS responses from untrusted or attacker-influenced sources. The bundle does not provide a precise affected version range, so teams should rely on vendor package advisories for applicability.

Exploitation context

The source bundle does not show CISA KEV listing or cited evidence of active exploitation. The described attack path is remote and unauthenticated, but the documented outcome is service crash rather than data theft or code execution.

Researcher notes

The bundle supports a denial-of-service conclusion from heap out-of-bounds read behavior. It does not support active exploitation, code execution, confidentiality impact, or a universal affected version range. Vendor-specific packaging evidence should drive final exposure decisions.

Mitigation direction

  • Review dnsmasq upstream CVE guidance for affected versions and fixes.
  • Apply relevant vendor updates, including distro advisories such as Red Hat RHSA-2026:19158.
  • Review Pi-hole FTL v6.6.2 guidance if using Pi-hole-provided dnsmasq components.
  • Track NixOS advisory or package updates if using nixpkgs builds.
  • Restrict DNS service exposure where operationally possible.

Validation and detection

  • Inventory hosts, containers, and appliances running dnsmasq.
  • Compare installed dnsmasq packages against vendor advisory status.
  • Confirm whether DNS responses can originate from untrusted networks.
  • Verify patched package or vendor release installation after remediation.
  • Monitor dnsmasq crash logs and service restarts for suspicious malformed-response activity.
Prepared
Confidence
medium
Sources
9

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-125: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-787: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-5172 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
7.5 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
11Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: noneAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
7.5CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H3.93.6redhat-SADP
7.3CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L3.93.4CISA-ADP

Vulnerability scoring details

Base CVSS 3.1 score

7.5High
CVSS 3.1 vector shape for CVE-2026-5172Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Reported to Red Hat.

  3. ADP timelineredhat-SADP

    Made public.

  4. CVE publishedCVE Program

    The CVE record was published.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
cvssV3_1other:ssvc
redhat-SADPdnsmasq: extract_addresses() OOB read via malformed rdlen
other:Red Hat severity ratingcvssV3_1
  • 2026-04-14T22:55:28.042Z: Reported to Red Hat.
  • 2026-05-09T00:00:00.000Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
dnsmasqdnsmasq0Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-125 · source CWE mapping

Out-of-bounds Read

Out-of-bounds Read represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-787 · source CWE mapping

Out-of-bounds Write

Out-of-bounds Write represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.