CVE-2026-4891: High severity Dnsmasq Dnsmasq vulnerability

Published Apr 14, 2026
·
Updated

A heap-based out-of-bounds read vulnerability in the DNSSEC validation of dnsmasq allows remote attackers to cause a denial of service via a crafted DNS packet.

Other sources

In validaterrset() at dnssec.c:546, siglen is calculated as rdlen - (p - psav) without checking that rdlen is large enough to cover the fixed RRSIG fields and signer name. A crafted RRSIG with a short rdlen makes siglen go negative, which when passed as a size parameter becomes a huge unsigned value, causing a massive heap OOB read. Fix: check siglen <= 0 and return STATBOGUS before using it.

Red Hat

Affected Software

4 affected componentsFixes available
Dnsmasq Dnsmasq
debian/dnsmasq<=2.85-1, <=2.85-1+deb11u1, <=2.92-4
2.90-4~deb12u22.91-1+deb13u12.92-5
Microsoft azl3 dnsmasq 2.90-1
Microsoft azl3 dnsmasq 2.92-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/dnsmasq to a version that resolves this vulnerability.

    Fixed in 2.90-4~deb12u2Fixed in 2.91-1+deb13u1Fixed in 2.92-5
  2. Compensating control

    Apply the described fix in dnsmasq DNSSEC validation: in validate_rrset() in dnssec.c:546, check that sig_len <= 0; if so, return STAT_BOGUS before using sig_len as a size parameter.

Event History

Apr 14, 2026
Data Sourced
via Red Hat·10:45 PM
DescriptionSeverityAffected Software
May 11, 2026
CVE Published
via MITRE·04:47 PM
Data Sourced
via MITRE·04:47 PM
DescriptionWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverity
Data Sourced
via NVD·06:16 PM
Weakness
May 13, 2026
Data Sourced
via Launchpad·03:08 PM
Description
May 14, 2026
Data Sourced
via Ubuntu·03:07 PM
RemedyDescriptionSeverityAffected Software
May 15, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeaknessAffected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Updated
via Microsoft·08:01 AM
Affected Software
May 16, 2026
Data Sourced
via Debian·03:10 PM
DescriptionAffected Software
Jan 25, 58467
Event
via NVD·06:40 AM

Frequently Asked Questions

1

What is the severity of CVE-2026-4891?

CVE-2026-4891 has a high severity rating due to its potential to cause a denial of service.

2

How do I fix CVE-2026-4891?

To address CVE-2026-4891, update to dnsmasq versions 2.90-4~deb12u2, 2.91-1+deb13u1, or 2.92-5.

3

Who is affected by CVE-2026-4891?

CVE-2026-4891 affects users of dnsmasq versions up to 2.85-1, including certain Debian packages.

4

What type of vulnerability is CVE-2026-4891?

CVE-2026-4891 is classified as a heap-based out-of-bounds read vulnerability.

5

Can CVE-2026-4891 be exploited remotely?

Yes, CVE-2026-4891 can be exploited remotely through a crafted DNS packet.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203