CVE-2026-133730Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6()
A flaw was found in dnsmasq, where a memory handling issue exists in its Dynamic Host Configuration Protocol for IPv6 (DHCPv6) relay processing. A remote attacker can exploit this vulnerability by sending a sequence of network packets to a system configured as a DHCPv6 relay. This causes the service to write data to previously freed memory and crash, resulting in a Denial of Service (DoS).
What to do
Debian, Red Hat, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | dnsmasq | Fix pending | UBUNTU-CVE-2026-133730 | |
| Ubuntu 26.04 | dnsmasq | Under investigation | UBUNTU-CVE-2026-133730 | |
| Ubuntu 24.04 | dnsmasq | Under investigation | UBUNTU-CVE-2026-133730 | |
| Ubuntu 22.04 | dnsmasq | Under investigation | UBUNTU-CVE-2026-133730 | |
| Ubuntu 20.04 | dnsmasq | Fix pending | UBUNTU-CVE-2026-133730 | |
| Ubuntu 18.04 | dnsmasq | Fix pending | UBUNTU-CVE-2026-133730 | |
| Ubuntu 16.04 | dnsmasq | Fix pending | UBUNTU-CVE-2026-133730 | |
| Ubuntu 14.04 | dnsmasq | Fix pending | UBUNTU-CVE-2026-133730 | |
| Debian 14 | dnsmasq | Fix pending | DEBIAN-CVE-2026-133730 | |
| Debian 13 | dnsmasq | Fix pending | DEBIAN-CVE-2026-133730 | |
| Debian 12 | dnsmasq | Fix pending | DEBIAN-CVE-2026-133730 | |
| Red Hat Enterprise Linux 10 | dnsmasq | Fix pending Affected | ||
| Red Hat Enterprise Linux 10 | dnsmasq-utils | Fix pending Affected | ||
| Red Hat Enterprise Linux 9 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 9 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 8 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 8 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 7 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 7 | dnsmasq-utils | Not affected | ||
| Red Hat Enterprise Linux 6 | dnsmasq | Not affected | ||
| Red Hat Enterprise Linux 6 | dnsmasq-utils | Not affected |
What the vendor says
As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Red Hat Enterprise Linux 10
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux 9
- Red Hat OpenShift Container Platform 4
- Red Hat OpenShift Container Platform 5
- Red Hat OpenStack Platform 13 (Queens)
Workaround: Disable the DHCPv6 relay feature if it is not required, or restrict network access to the DHCPv6 relay port. 1. If DHCPv6 relay capability is not needed: Remove or comment out all `dhcp-relay` entries in `/etc/dnsmasq.conf` or in configuration files under `/etc/dnsmasq.d/`, then restart the service: ``` systemctl restart dnsmasq ``` 2. If DHCPv6 relay is required, restrict incoming traffic on UDP port 547 to trusted network interfaces or subnets using firewalld: ``` firewall-cmd --remove-port=547/udp --permanent firewall-cmd --reload ``` Alternatively, configure rich rules in firewalld to permit UDP port 547 only from designated DHCPv6 clients and relay sources. Caveats: Disabling the relay configuration or restricting UDP port 547 prevents clients on blocked interfaces or subnets from forwarding DHCPv6 requests. Warning: Restarting or reloading the dnsmasq service will momentarily…
References
- https://access.redhat.com/security/cve/CVE-2026-133730
- https://bugzilla.redhat.com/show_bug.cgi?id=2578196
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.