NULL pointer dereference in Dnsmasq - CVE-2009-2958

 

NULL pointer dereference in Dnsmasq - CVE-2009-2958

Published: June 8, 2025 / Updated: June 13, 2025


Vulnerability identifier: #VU110634
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:A/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:P/U:Green
CVE-ID: CVE-2009-2958
CWE-ID: CWE-476
Exploitation vector: Adjecent network
Exploit availability: Public exploit is available
Vendor: GNU
Affected software:
Dnsmasq

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within the tftp_request() function in tftp.c. A remote attacker can trigger denial of service conditions via a TFTP read (aka RRQ) request with a malformed blksize option.


How to mitigate CVE-2009-2958

Install update from vendor's website.

Sources