CVE-2026-4891
dnsmasq: RRSIG rdlen underflow leading to heap OOB read
Severity
ImportantRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · May 9, 2026
Updated · October 31, 2026
Description
A heap out-of-bounds read vulnerability was discovered in dnsmasq's DNSSEC validation. When processing RRSIG records, dnsmasq calculates the signature length by subtracting the fixed field size from the record's declared data length. A crafted RRSIG record with a data length smaller than the fixed fields causes this calculation to underflow, potentially resulting in an out-of-bounds read and process crash.
Statement
Red Hat Product Security rates this flaw as Important because an unauthenticated remote attacker can crash the dnsmasq daemon, leading to a complete denial of service for network name resolution. In typical Red Hat Enterprise Linux environments, dnsmasq does not enable DNSSEC validation by default, which restricts exposure to deployments where DNSSEC has been explicitly configured. Impact is limited to service availability, with no compromise of data confidentiality or integrity.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
No mitigation is specified in collected source.
CVSS / CWE
CVSS 3.1 · 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE-125 · Out-of-bounds Read