CVE-2002-2226

tftpd32 < 2.21 - Remote Code Execution via Long Filename

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 3 public exploits for CVE-2002-2226. PoCs published by Metasploit, Aviram Jenik, including Metasploit module exploits/windows/tftp/tftpd32_long_filename.

AI-analyzed exploit summary This Metasploit module exploits a stack buffer overflow in TFTPD32 <= 2.21 via a UDP request with an overly long filename, leading to arbitrary code execution. It includes target-specific return addresses for various Windows versions.

Description

Buffer overflow in tftpd of TFTP32 2.21 and earlier allows remote attackers to execute arbitrary code via a long filename argument.

Exploits (3)

exploitdb WORKING POC VERIFIED
by Metasploit · rubyremotewindows
https://www.exploit-db.com/exploits/16349

This Metasploit module exploits a stack buffer overflow in TFTPD32 <= 2.21 via a UDP request with an overly long filename, leading to arbitrary code execution. It includes target-specific return addresses for various Windows versions.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TFTPD32 <= 2.21
No auth needed
Prerequisites: Network access to UDP port 69 · Target running vulnerable TFTPD32 version
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by Aviram Jenik · perlremotewindows
https://www.exploit-db.com/exploits/22025

This exploit targets a buffer overflow vulnerability in Tftpd32 by sending a maliciously crafted UDP packet with an overly long filename. The payload includes shellcode to execute 'notepad.exe' as a demonstration of arbitrary code execution.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: Tftpd32 (version not specified)
No auth needed
Prerequisites: Network access to the target TFTP server · TFTP server running on port 69
devstral-2 · analyzed Feb 16, 2026 Full analysis →
metasploit WORKING POC NORMAL
rubypocwin
https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/windows/tftp/tftpd32_long_filename.rb

This Metasploit module exploits a stack buffer overflow in TFTPD32 version 2.21 and prior by sending a UDP request with an overly long filename, leading to arbitrary code execution. The exploit includes specific return addresses for various Windows versions and a payload delivery mechanism.

Classification
Working Poc 100%
Attack Type
Rce
Complexity
Moderate
Reliability
Reliable
Target: TFTPD32 version 2.21 and prior
No auth needed
Prerequisites: Network access to the TFTPD32 server on UDP port 69 · Target system running a vulnerable version of TFTPD32
devstral-2 · analyzed Feb 19, 2026 Full analysis →

References (7)

Core 7
Core References
Various Sources x_refsource_misc
http://tftpd32.jounin.net/
Third Party Advisory third-party-advisory x_refsource_sreason
http://securityreason.com/securityalert/3160
US Government Resource third-party-advisory x_refsource_cert-vn
http://www.kb.cert.org/vuls/id/632633
Exploit vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/6199
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/300395
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/10647

Scores

EPSS 0.6348
EPSS Percentile 99.1%

Details

CWE
CWE-119
Status published
Products (1)
tftpd32/tftpd32 < 2.21
Published Dec 31, 2002
Tracked Since Feb 18, 2026