Dnsmasq: dhcpv6 relay remote crash via stale pointer in relay_upstream6()

Summary

CVECVE-2026-133730
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-11-20 18:18:52 UTC
Updated2026-11-24 11:17:10 UTC
DescriptionA 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


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
3.1CNACVSS5.9MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
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

ReferenceSourceLinkTags
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

SourceTimeEvent
CNA2026-11-17T03:03:11.000ZReported to Red Hat.
CNA2026-11-20T14:21:42.364ZMade 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.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report