CVE-2024-58299CWE-121

PCMan FTP Server 2.0 Remote Buffer Overflow via 'pwd' Command

Critical · published December 12, 2025

CVSS v4.0
9.3
EPSS
1%
Percentile
57.1
In the wild
Unconfirmed
What it is

🚨 A buffer overflow in PCMan FTP Server 2.0 lets attackers execute arbitrary code simply by using the 'pwd' command—what a wild ride! 🔥 Think of it as a restaurant where the waiter confuses the orders and accidentally serves the chef's secret recipe to a customer, allowing them to bypass the entire kitchen and take control. In this case, the FTP command is that waiter—sending a rogue payload can let an attacker rewrite crucial server memory. With this flaw, a remote attacker could gain full control of your system—reading files, modifying configurations, or even deploying malware at will. It's absolutely devastating for any server that uses this vulnerable version of PCMan FTP!

Put simply

Think of it as a restaurant where the waiter confuses the orders and accidentally serves the chef's secret recipe to a customer, allowing them to bypass the entire kitchen and take control. In this case, the FTP command is that waiter—sending a rogue payload can let an attacker rewrite crucial server memory. This vulnerability occurs when the 'pwd' command in PCMan FTP Server processes input without proper bounds checking, allowing an attacker to overwrite memory during the FTP login process. This can lead to arbitrary code execution as the attacker manipulates the server's memory.

What to do

With this flaw, a remote attacker could gain full control of your system—reading files, modifying configurations, or even deploying malware at will. It's absolutely devastating for any server that uses this vulnerable version of PCMan FTP! To protect your systems, immediately patch PCMan FTP Server to version 2.0.1 or later. Additionally, audit your FTP configurations and consider restricting access to trusted IPs while you resolve this vulnerability. 🛡️ You've got this! With these steps, you'll lock down your system in no time and keep those attackers at bay! 💪🎉

The record
Technical detail
CVSS v4.0
9.3 · CRITICAL
Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
EPSS
0.00828 · 57.1th percentile
Weakness
CWE-121 · Stack-based Buffer Overflow
Published
2025-12-12T19:56Z
EPSS history
Timeline
  • 12 DEC 19:56Z
    PCMan FTP Server 2.0 Remote Buffer Overflow via 'pwd' Command
    cvelistv5