Skip to content
OpenAdvisories
High · 7.3 Public exploit CVE-2026-2291 EUVD-2026-29091GHSA-hjxh-hmm9-wcmc

CVE-2026-2291

Published May 11, 2026 · Updated Jul 20, 2026 · Assigned by certcc

Description

dnsmasqs extract_name() function can be abused to cause a heap buffer overflow, allowing an attacker to inject false DNS cache entries, which could result in DNS lookups to redirect to an attacker-controlled IP address, or to cause a DoS.

Affected products

VendorProductAffectedFixed
dnsmasq dnsmasq < 2.92rel2 2.92rel2

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 dnsmasq 2.92-5 —
Debian 13 dnsmasq 2.91-1+deb13u1 —
Debian 12 dnsmasq 2.90-4~deb12u2 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS dnsmasq 2.92-1ubuntu0.2 —
Ubuntu 25.10 dnsmasq 2.91-1ubuntu0.2 —
Ubuntu 24.04 LTS dnsmasq 2.90-2ubuntu0.3 —
Ubuntu 22.04 LTS dnsmasq 2.90-0ubuntu0.22.04.3 —
Show 4 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS dnsmasq 2.90-0ubuntu0.20.04.1+esm2 —
Ubuntu Pro 18.04 LTS dnsmasq 2.90-0ubuntu0.18.04.1+esm3 —
Ubuntu Pro 16.04 LTS dnsmasq 2.90-0ubuntu0.16.04.1+esm3 —
Ubuntu Pro 14.04 LTS dnsmasq 2.68-1ubuntu0.2+esm5 —
ReleasePackageFixed inAdvisory
RHEL 10 dnsmasq +1 2.90-7.el10_2 RHSA-2026:19158
RHEL 9 dnsmasq +1 2.85-18.el9_8.1 RHSA-2026:19373
RHEL 8 dnsmasq +1 2.79-36.el8_10 RHSA-2026:20589
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
RHEL 9.6 EUS dnsmasq +1 2.85-17.el9_6.1 RHSA-2026:34508

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 dnsmasq +1 2.90-7.el10_2 ALSA-2026:19158
AlmaLinux 9 dnsmasq +1 2.85-18.el9_8.1 ALSA-2026:19373
AlmaLinux 8 dnsmasq +1 2.79-36.el8_10 ALSA-2026:20589

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 dnsmasq 2.90-7.el10_2 RLSA-2026:19158
Rocky Linux 9 dnsmasq 2.85-18.el9_8.1 RLSA-2026:19373
Rocky Linux 8 dnsmasq 2.79-36.el8_10 RLSA-2026:20589
ReleasePackageFixed inAdvisory
SLES 12 SP5 dnsmasq 2.92rel2-18.27.1 SUSE-SU-2026:2458-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES for SAP 16.0 dnsmasq 2.93-160000.1.1 SUSE-SU-2026:22496-1
SLES 16.0 dnsmasq 2.93-160000.1.1 SUSE-SU-2026:22496-1
SLE Micro 6.1 dnsmasq 2.93-slfo.1.1_1.1 SUSE-SU-2026:22454-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed dnsmasq 2.92rel2-1.1 openSUSE-SU-2026:10821-1
openSUSE Leap 16.0 dnsmasq 2.93-160000.1.1 openSUSE-SU-2026:21192-1
ReleasePackageFixed inAdvisory
Alpine v3.24 dnsmasq 2.92_p2-r0 —
Alpine v3.23 dnsmasq 2.91-r1 —
Alpine v3.22 dnsmasq 2.91-r1 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 dnsmasq +1 2.90-1.amzn2023.0.2 ALAS2023-2026-1516

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 dnsmasq 2.92-1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 dnsmasq +1 2.90-7.el10_2 ELSA-2026-19158
Oracle Linux 9 dnsmasq +1 2.85-18.el9_8.1 ELSA-2026-19373
Oracle Linux 8 dnsmasq +1 2.79-36.el8_10 ELSA-2026-20589

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling dnsmasq +1 2.93-r0 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 22

References