CVE-2010-20049 LeapFTP < 3.1.x Stack Buffer Overflow

Critical 9.3 Published Updated

A stack buffer overflow in LeapFTP allows remote code execution via a malicious FTP server sending long filenames.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2010-20049?

CVE-2010-20049 is a critical memory corruption vulnerability in LeapWare LeapFTP, published on 20 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

LeapFTP < 3.1.x contains a stack-based buffer overflow vulnerability in its FTP client parser. When the client receives a directory listing containing a filename longer than 528 bytes, the application fails to properly bound-check the input and overwrites the Structured Exception Handler (SEH) chain. This allows an attacker operating a malicious FTP server to execute arbitrary code on the victim’s machine when the file is listed or downloaded.

Weakness: CWE-121

Which versions are affected by CVE-2010-20049?

How do I fix CVE-2010-20049?

No fix has been published for CVE-2010-20049 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2010-20049 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2010-20049 exists.

Public exploit code: 1 Metasploit module.

Sources

Also known as GHSA-fh65-c5x2-5936.

Is CVE-2010-20049 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free