Bug 2578196 (CVE-2026-133730)

Summary: CVE-2026-133730 dnsmasq: DHCPv6 relay remote crash via stale pointer in relay_upstream6()
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: eglynn, jjoyce, jpretori, jschluet, lhh, mburns, mgarciac, rhel-process-autobot, security-response-team, watson-tool-maintainers
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
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).
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2578308    
Bug Blocks:    

Description OSIDB Bzimport 2026-11-20 12:52:58 UTC
A flaw was found in dnsmasq's DHCPv6 relay processing. In relay_upstream6() in src/rfc3315.c, the link-address is written through a pointer into the output buffer after put_opt6() may have reallocated and freed that buffer. A remote attacker able to send UDP packets to port 547 on the relay's interface can crash a dnsmasq instance configured as a DHCPv6 relay (dhcp-relay=, a non-default configuration) by sending a sequence of increasing packet sizes, resulting in a denial of service. Versions 2.87 through 2.93 and git master are reported as affected; RHEL 10 ships an affected version (2.90), while RHEL 8 and RHEL 9 are not affected.