Every CVE Search/ Get API key

CVE-2009-2957

Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when -...

6.8 MediumPublic exploitFix available

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.

Exploit likelihood

15.3%Up 4.0 points since Feb 4, 2022
90%50%10%1%

What each source reports

NVD Score used 6.8

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.

Record
CVE-2009-2957
CVSS 2.0
6.8 MediumAV:N/AC:M/Au:N/C:P/I:P/A:P
Weakness
CWE-119
Updated
2026-11-02
CVE List No score

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.

Record
CVE-2009-2957
Updated
2026-11-02
EUVDEUVD-2009-2944 No score

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.

Record
EUVD-2009-2944
Updated
2026-11-03
GitHub AdvisoriesGHSA-3wv8-c9pw-2c36 No score

Heap-based buffer overflow in the tftp_request function in tftp.c in dnsmasq before 2.50, when -...

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.

Record
GHSA-3wv8-c9pw-2c36
Weakness
CWE-119
Updated
2026-11-02
OSV No score

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.

Record
CVE-2009-2957
Updated
2026-11-02
OSVDEBIAN-CVE-2009-2957 No score

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.

Record
DEBIAN-CVE-2009-2957
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
dnsmasq
Debian:12
before 2.50-1
2.50-1
dnsmasq
Debian:13
before 2.50-1
2.50-1
dnsmasq
Debian:14
before 2.50-1
2.50-1
dnsmasq
Debian:5.0
From an advisory covering 2 CVEs
before 2.45-1+lenny1, plus listed versions
2.45-1
2.45-1+lenny1
dnsmasq
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:2.45-1.1.el5_3
0:2.45-1.1.el5_3
dnsmasq-debuginfo
Red Hat:enterprise_linux:5::client
From an advisory covering 2 CVEs
before 0:2.45-1.1.el5_3
0:2.45-1.1.el5_3
dnsmasq
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:2.45-1.1.el5_3
0:2.45-1.1.el5_3
dnsmasq-debuginfo
Red Hat:enterprise_linux:5::server
From an advisory covering 2 CVEs
before 0:2.45-1.1.el5_3
0:2.45-1.1.el5_3

Public exploits

Links only. Every CVE stores no exploit code.

Public exploits
SourceLinkDate
Exploit-DBDnsmasq < 2.50 - Heap Overflow / Null Pointer Dereference2009-09-09

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, Exploit-DB, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2009-2957 is a medium vulnerability (CVSS 6.8) in Thekelleys Dnsmasq, published September 1, 2009. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 15.3%, the 96th percentile. Fixed in dnsmasq 2.50-1.

References

Show 14 moreShow less
MoveEnter Open