Skip to content
Fencer Vulns
medium 6.8

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_3
    fixed: 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

  1. Published
  2. 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

Sources

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.