CVE-2026-93011

Dnsmasq: dnsmasq: heap out-of-bounds write in dnssec validator via to_wire/from_wire transforms

Published Oct 29, 2026 CVSS 3.1 · 5.3 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in dnsmasq. After a reduction of internal domain-name buffer sizes, the DNSSEC validator can write a few bytes past a name buffer when converting names to and from DNS wire format. An attacker who can cause the server to validate a crafted DNSSEC response may overwrite a small amount of adjacent heap metadata. DNSSEC support is not compiled in by default and must also be enabled at runtime.

Analysis

AI-generated

Technical impact

Dnsmasq suffers from a heap out‑of‑bounds write in the DNSSEC validator when converting names to and from DNS wire format. The flaw originates from a reduction of internal domain‑name buffer sizes, causing the validator to write a few bytes beyond the end of the name buffer. An attacker who can force the server to validate a crafted DNSSEC response may overwrite adjacent heap metadata, potentially leading to memory corruption and arbitrary code execution or denial of service. The likely attack vector is remote, via DNS queries that include a malicious DNSSEC response, but this requires that DNSSEC validation is enabled at runtime.

Affected Systems

The vulnerability impacts Red Hat Ceph Storage 9, Red Hat OpenShift Container Platform 4, Red Hat OpenStack Platform 13 (Queens) and 18.0, and all Red Hat Enterprise Linux releases 6 through 10. These operating systems and platforms include dnsmasq with DNSSEC support compiled in or enabled by configuration.

Risk and Exploitability

The CVSS score of 5.3 indicates a moderate severity. Exploitation requires DNSSEC validation to be enabled, and there is no known exploit in the wild; the EPSS score is unavailable and the issue is not listed in the CISA KEV catalog. Consequently, the risk is moderate to low for environments that have not enabled DNSSEC, but it can be higher for deployments that rely on DNSSEC validation and allow the server to resolve external queries.

Remediation

Vendor Workaround

The following measures reduce risk: 1. Do not enable --dnssec or --trust-anchor unless DNSSEC validation is required. 2. Omit -DHAVE_DNSSEC from COPTS (this is the default build). 3. If DNSSEC validation is required, restrict dnsmasq to trusted upstream resolvers.


OpenCVE Recommended Actions

  • Upgrade dnsmasq to a patched version if one is available from Red Hat.
  • If no patch is available, disable DNSSEC validation by removing the --dnssec or --trust‑anchor options or by configuring the server to operate without DNSSEC support.
  • Rebuild dnsmasq without the -DHAVE_DNSSEC build flag to eliminate DNSSEC functionality entirely.
  • If DNSSEC must be used, restrict dnsmasq to trusted upstream resolvers and isolate it from untrusted query sources.

Generated by OpenCVE AI on October 29, 2026 at 15:44 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Redhat rhel Els
CPEs cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
cpe:/a:redhat:enterprise_linux:10
cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
cpe:/o:redhat:rhel_els:6
cpe:/o:redhat:rhel_els:7
Vendors & Products Redhat rhel Els
Type Values Removed Values Added
First Time appeared Dnsmasq
Dnsmasq dnsmasq
Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Redhat openstack Platform
Vendors & Products Dnsmasq
Dnsmasq dnsmasq
Red Hat
Red Hat enterprise Linux
Redhat openshift Container Platform
Redhat openstack Platform
Type Values Removed Values Added
CPEs cpe:/a:redhat:openshift:5
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description A flaw was found in dnsmasq. After a reduction of internal domain-name buffer sizes, the DNSSEC validator can write a few bytes past a name buffer when converting names to and from DNS wire format. An attacker who can cause the server to validate a crafted DNSSEC response may overwrite a small amount of adjacent heap metadata. DNSSEC support is not compiled in by default and must also be enabled at runtime.
Title Dnsmasq: dnsmasq: heap out-of-bounds write in dnssec validator via to_wire/from_wire transforms
First Time appeared Redhat
Redhat ceph Storage
Redhat enterprise Linux
Redhat openshift
Redhat openstack
Weaknesses CWE-787
CPEs cpe:/a:redhat:ceph_storage:9
cpe:/a:redhat:openshift:4
cpe:/a:redhat:openstack:13
cpe:/a:redhat:openstack:18.0
cpe:/o:redhat:enterprise_linux:10
cpe:/o:redhat:enterprise_linux:6
cpe:/o:redhat:enterprise_linux:7
cpe:/o:redhat:enterprise_linux:8
cpe:/o:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat ceph Storage
Redhat enterprise Linux
Redhat openshift
Redhat openstack
References
Metrics cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Nov 6, 2026, 1:50 AM
Reserved
Sep 17, 2026, 2:35 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 1:17 PM
Modified
Nov 6, 2026, 2:17 AM
Severity
Moderate
Public date
Oct 28, 2026, 9:30 AM