Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6()
Summary
| CVE | CVE-2026-133730 |
|---|---|
| State | PUBLISHED |
| Assigner | redhat |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-20 18:18:52 UTC |
| Updated | 2026-11-24 11:17:10 UTC |
| Description | 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). |
Risk And Classification
Primary CVSS: v3.1 5.9 MEDIUM from [email protected]
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS: 0.006910000 probability, percentile 0.537660000 (date 2026-11-23)
Problem Types: CWE-416 | CWE-416 Use After Free
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
| 3.1 | CNA | CVSS | 5.9 | MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |
CVSS v3.1 Breakdown
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Red Hat | Red Hat Enterprise Linux 10 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 6 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 7 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 8 | Not specified | Not specified |
| CNA | Red Hat | Red Hat Enterprise Linux 9 | Not specified | Not specified |
| CNA | Red Hat | Red Hat OpenStack Platform 13 Queens | Not specified | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| access.redhat.com/security/cve/CVE-2026-133730 | [email protected] | access.redhat.com | |
| bugzilla.redhat.com/show_bug.cgi | [email protected] | bugzilla.redhat.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Red Hat would like to thank Akin Yilmaz (DecompilerAI) for reporting this issue. (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-11-17T03:03:11.000Z | Reported to Red Hat. |
| CNA | 2026-11-20T14:21:42.364Z | Made public. |
Workarounds
CNA: 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 interrupt active DNS resolution and DHCP operations.