CVE-2009-2957 json
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 at…
published 2009-09-02 17 y ago modified 2026-06-16 4 mo ago also EUVD-2009-2944
- cvss
- 6.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 15.3%
- EPSS 15.3% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
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.
Patch / fix
- dnsmasq Debian 14, Debian 13, Debian 12 2.50-1
debian advisories DEBIAN-CVE-2009-2957
- dnsmasq RHEL 5 2.45-1.1.el5_3
red hat advisories RHSA-2009:1238
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2009-2957 updated cvss 6.8
dnsmasq: multiple vulnerabilities in TFTP server
-
Red Hat Enterprise Linux (v. 5 server) dnsmasq 2.45-1.1.el5_3 Red Hat Enterprise Linux Desktop (v. 5 client) dnsmasq 2.45-1.1.el5_3fixed: vendor fix RHSA-2009:1238
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- Published
- First public exploit (EDB-9617)
Exploit prediction
15.25% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-9617 Dnsmasq < 2.50 - Heap Overflow / Null Pointer Dereference dos, 2009-09-09
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Classification
- Weakness
-
- CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer
References
-
securityfocus.com
/bid/36121
vdb-entry, patch
-
coresecurity.com
/content/dnsmasq-vulnerabilities
patch
-
ubuntu.com
/usn/USN-827-1
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2010-0095.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2009-1238.html
vendor-advisory
-
thekelleys.org.uk
/dnsmasq/CHANGELOG
vendor-advisory
-
secunia.com
/advisories/36563
third-party-advisory
- bugzilla.redhat.com /show_bug.cgi?id=519020
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10538
vdb-entry, signature
Sources
- CVE List CVE-2009-2957
- NVD CVE-2009-2957
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.