CVE-2009-2957: Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote…
CVE-2009-2957 affects 76 listed versions of Thekelleys dnsmasq in the Dawnsentry catalogue.
Affected products and versions
The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.
Thekelleys dnsmasq
76 of 103 listed versions are affected. No fixed release is named. The newest release, 2.93, is not affected.
2.49 2.48 2.47 2.46 2.45 2.44 2.43 2.42 2.41 2.40 2.39 2.38 2.37 2.36 2.35 2.34 2.33 2.31 2.30 2.29 2.28 2.27 2.26 2.25 2.24 2.23 2.22 2.21 2.20 2.19 2.18 2.17 2.16 2.15 2.14 2.13 2.12 2.11 2.10 2.9 2.8 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.18 1.17 1.16 1.15 1.14 1.13 1.12 1.11 1.10 1.9 1.8 and 16 more
What it is
Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when --enable-tftp is used, might allow remote attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.
AV:N/AC:M/Au:N/C:P/I:P/A:P (NVD)
Published by MITRE on 2 September 2009. Last changed 16 June 2026.
Sources
Check one version you run: look CVE-2009-2957 up, or pick a product and version in the quick lookup.
Updated 1 December 2026.