CVE-2009-2957

CVE-2009-2957 is a medium-severity vulnerability in Thekelleys Dnsmasq with a CVSS 2.0 base score of 6.8. Its EPSS exploit-prediction score of 13% places it in the 96th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-119.

Key facts

Description

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.

Frequently asked questions

What is 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 attackers to execute arbitrary code via a long filename in a TFTP packet, as demonstrated by a read (aka RRQ) request.
How severe is CVE-2009-2957?
CVE-2009-2957 has a CVSS 2.0 base score of 6.8, rated medium severity.
Is CVE-2009-2957 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 13% (96th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2009-2957?
CVE-2009-2957 primarily affects Thekelleys Dnsmasq. In total, 76 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2009-2957?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
When was CVE-2009-2957 published?
CVE-2009-2957 was published on 2009-09-02 and last updated on 2026-06-16.

References

Affected products (76)

More vulnerabilities in Thekelleys Dnsmasq

All CVEs affecting Thekelleys Dnsmasq →

Other CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities

Browse all CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) vulnerabilities →