CVE-2026-5172 Affecting dnsmasq package, versions <0:2.90-7.el10_2


Severity

Recommended
high

Based on Rocky Linux security rating.

Threat Intelligence

EPSS
0.69% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ROCKY10-DNSMASQ-17096430
  • published30 May 2026
  • disclosed11 May 2026

Introduced: 11 May 2026

CVE-2026-5172  (opens in a new tab)

How to fix?

Upgrade Rocky-Linux:10 dnsmasq to version 0:2.90-7.el10_2 or higher.
This issue was patched in RLSA-2026:19158.

NVD Description

Note: Versions mentioned in the description apply only to the upstream dnsmasq package and not the dnsmasq package as distributed by Rocky-Linux. See How to fix? for Rocky-Linux:10 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1