USN-8268-1: Dnsmasq vulnerabilities

Publication date

12 May 2026

Overview

Several security issues were fixed in Dnsmasq.


Packages

  • dnsmasq - Small caching DNS proxy and DHCP/TFTP server

Details

Andrew S. Fasano, Royce M, and Hugo Martinez Ray discovered that Dnsmasq
did not allocate the necessary space to store domain names in some
contexts. An attacker could possibly use this issue to write
out-of-bounds, and could cause a denial of service or execute arbitrary
code. (CVE-2026-2291)

Royce M discovered that Dnsmasq could loop infinitely due to erroneously
missing the window header. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-4890)

Royce M discovered that a maliciously crafted packet could cause Dnsmasq
to report a negative length. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 16.04 LTS,
Ubuntu...

Andrew S. Fasano, Royce M, and Hugo Martinez Ray discovered that Dnsmasq
did not allocate the necessary space to store domain names in some
contexts. An attacker could possibly use this issue to write
out-of-bounds, and could cause a denial of service or execute arbitrary
code. (CVE-2026-2291)

Royce M discovered that Dnsmasq could loop infinitely due to erroneously
missing the window header. An attacker could possibly use this issue to
cause a denial of service. This issue only affected Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-4890)

Royce M discovered that a maliciously crafted packet could cause Dnsmasq
to report a negative length. An attacker could possibly use this issue
to cause a denial of service. This issue only affected Ubuntu 16.04 LTS,
Ubuntu 18.04 LTS, Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS,
Ubuntu 25.10, and Ubuntu 26.04 LTS. (CVE-2026-4891)

Royce M and Asim Viladi Oglu Manizada discovered that certain
configurations of Dnsmasq could write over the DHCPv6 CLID buffer within
a privileged helper. An attacker could possibly use this issue to cause
a denial of service or execute arbitrary code. (CVE-2026-4892)

Royce M discovered that certain configurations of Dnsmasq could bypass
internal bounds checks. An attacker could possibly use this issue to
permit malformed packets, and could cause a denial of service.
(CVE-2026-4893)

Hugo Martinez discovered that Dnsmasq did not check the rdlen element of
a record. An attacker could possibly use this issue to cause a denial of
service. This issue only affected Ubuntu 16.04 LTS, Ubuntu 18.04 LTS,
Ubuntu 20.04 LTS, Ubuntu 22.04 LTS, Ubuntu 24.04 LTS, Ubuntu 25.10, and
Ubuntu 26.04 LTS. (CVE-2026-5172)


Update instructions

In general, a standard system update will make all the necessary changes.

Learn more about how to get the fixes.

The problem can be corrected by updating your system to the following package versions:

Ubuntu Release Package Version
26.04 LTS resolute dnsmasq –  2.92-1ubuntu0.2
25.10 questing dnsmasq –  2.91-1ubuntu0.2
24.04 LTS noble dnsmasq –  2.90-2ubuntu0.3
22.04 LTS jammy dnsmasq –  2.90-0ubuntu0.22.04.3
20.04 LTS focal dnsmasq –  2.90-0ubuntu0.20.04.1+esm2  
18.04 LTS bionic dnsmasq –  2.90-0ubuntu0.18.04.1+esm3  
16.04 LTS xenial dnsmasq –  2.90-0ubuntu0.16.04.1+esm3  
14.04 LTS trusty dnsmasq –  2.68-1ubuntu0.2+esm5  

Reduce your security exposure

Ubuntu Pro provides ten-year security coverage to 25,000+ packages in Main and Universe repositories, and it is free for up to five machines.


Have additional questions?

Talk to a member of the team ›