CVE-2009-2958

dnsmasq < 2.50 - Denial of Service via Malformed TFTP Blksize Option

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 1 public exploit for CVE-2009-2958. PoCs published by Core Security.

AI-analyzed exploit summary This is a detailed advisory from Core Security Technologies describing two vulnerabilities in Dnsmasq's TFTP server: a heap overflow (CVE-2009-2957) and a null-pointer dereference (CVE-2009-2958). The advisory includes technical details, affected versions, and proof-of-concept snippets for crashing the service.

Description

The tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via a TFTP read (aka RRQ) request with a malformed blksize option.

Exploits (1)

exploitdb WRITEUP VERIFIED
by Core Security · textdoswindows
https://www.exploit-db.com/exploits/9617

This is a detailed advisory from Core Security Technologies describing two vulnerabilities in Dnsmasq's TFTP server: a heap overflow (CVE-2009-2957) and a null-pointer dereference (CVE-2009-2958). The advisory includes technical details, affected versions, and proof-of-concept snippets for crashing the service.

Classification
Writeup 100%
Attack Type
Dos | Rce
Complexity
Moderate
Reliability
Theoretical
Target: Dnsmasq 2.40-2.49
No auth needed
Prerequisites: TFTP service enabled in Dnsmasq · Network access to the TFTP server
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (9)

Core 9
Core References
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/36563
Vendor Advisory vendor-advisory x_refsource_ubuntu
http://www.ubuntu.com/usn/USN-827-1
Issue Tracking x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=519020
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/36120
Various Sources x_refsource_confirm
http://www.thekelleys.org.uk/dnsmasq/CHANGELOG
Third Party Advisory, VDB Entry vdb-entry signature x_refsource_oval
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9816
Vendor Advisory vendor-advisory x_refsource_redhat
https://rhn.redhat.com/errata/RHSA-2010-0095.html
Vendor Advisory vendor-advisory x_refsource_redhat
http://www.redhat.com/support/errata/RHSA-2009-1238.html

Scores

EPSS 0.1038
EPSS Percentile 95.1%

Details

CWE
CWE-399
Status published
Products (50)
thekelleys/dnsmasq 0.4
thekelleys/dnsmasq 0.5
thekelleys/dnsmasq 0.6
thekelleys/dnsmasq 0.7
thekelleys/dnsmasq 0.95
thekelleys/dnsmasq 0.96
thekelleys/dnsmasq 0.98
thekelleys/dnsmasq 0.992
thekelleys/dnsmasq 0.996
thekelleys/dnsmasq 1.0
... and 40 more
Published Sep 02, 2009
Tracked Since Feb 18, 2026