CVE-2026-93006

Dnsmasq: dnsmasq: tftp prefetch cache keyed on stale heap pointer serves wrong file content

Published Oct 29, 2026 CVSS 3.1 · 6.8 Medium EPSS < 1% KEV · Not listed
Description
A flaw was found in dnsmasq. The TFTP server can serve the wrong file contents because a recently used transfer cache is not invalidated when a transfer finishes. An attacker on the local network who can request a TFTP file may cause a later client to receive previously cached data instead of the requested file. In PXE network-boot environments this can substitute attacker-chosen boot content for a victim machine.

Analysis

AI-generated

Technical impact

The vulnerability exists in DNSMasq’s TFTP server, where a recently used transfer cache is not cleared after a transfer completes. An attacker on the local network can request a TFTP file and cause a later client to receive previously cached data instead of the requested file. In PXE network‑boot environments, this enables an attacker to substitute malicious or modified boot images for a victim machine, potentially allowing arbitrary code execution during the boot process.

Affected Systems

Affected products include Red Hat Ceph Storage 9, Red Hat Enterprise Linux 6 through 10, Red Hat OpenShift Container Platform 4, Red Hat OpenStack Platform 13 Queens, and Red Hat OpenStack Platform 18.0. The vendor lists these product families as impacted, but does not provide individual patch versions. The flaw is present in the DNSMasq component bundled with these distributions.

Risk and Exploitability

With a CVSS score of 6.8 the issue is considered moderate severity. The EPSS score is not available, indicating that current predictive models do not estimate a high likelihood of exploitation. The flaw is not listed in CISA’s KEV catalog. The attack requires local network access to a DNSMasq instance that serves TFTP. An attacker capable of sending TFTP requests can force another client to download an attacker‑chosen file from the stale cache, leading to malicious boot images. CWE‑672 describes the improper cleanup flaw underlying the stale cache pointer issue.

Remediation

Vendor Workaround

The following measures reduce risk: 1. If TFTP is not required, do not enable it. Remove --enable-tftp from the dnsmasq configuration. 2. If TFTP is required, restrict it with --tftp-interface=<interface> and avoid running TFTP-only instances that serve untrusted clients on the same network. 3. Compile without TFTP support using COPTS=-DNO_TFTP if TFTP is not needed.


OpenCVE Recommended Actions

  • Disable the TFTP service by removing the --enable-tftp option from the dnsmasq configuration or by uninstalling TFTP support altogether.
  • If TFTP is required, limit it to a dedicated interface using the --tftp-interface=<interface> option to reduce exposure to untrusted clients.
  • Compile dnsmasq without TFTP support by setting COPTS=-DNO_TFTP during the build process.
  • Apply any vendor‑supplied patch for DNSMasq when it becomes available.

Generated by OpenCVE AI on October 29, 2026 at 15:43 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
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

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
Description A flaw was found in dnsmasq. The TFTP server can serve the wrong file contents because a recently used transfer cache is not invalidated when a transfer finishes. An attacker on the local network who can request a TFTP file may cause a later client to receive previously cached data instead of the requested file. In PXE network-boot environments this can substitute attacker-chosen boot content for a victim machine.
Title Dnsmasq: dnsmasq: tftp prefetch cache keyed on stale heap pointer serves wrong file content
First Time appeared Redhat
Redhat ceph Storage
Redhat enterprise Linux
Redhat openshift
Redhat openstack
Weaknesses CWE-672
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': 6.8, 'vector': 'CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N'}

Weaknesses
  • CWE-672

    Operation on a Resource after Expiration or Release

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:32 AM