Heap-based Buffer Overflow Affecting dnsmasq package, versions <0:2.85-18.el9_8.1


Severity

Recommended
0.0
high
0
10

Based on CentOS security rating.

Threat Intelligence

EPSS
0.01% (3rd 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 Learn

Learn about Heap-based Buffer Overflow vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-CENTOS9-DNSMASQ-16699483
  • published15 May 2026
  • disclosed9 May 2026

Introduced: 9 May 2026

NewCVE-2026-4892  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade Centos:9 dnsmasq to version 0:2.85-18.el9_8.1 or higher.

NVD Description

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

A heap-based out-of-bounds write vulnerability in the DHCPv6 implementation of dnsmasq allows local attackers to execute arbitrary code with root privileges via a crafted DHCPv6 packet.

CVSS Base Scores

version 3.1