CVE-2013-10042 freeFTPd <= 1.0.10 PASS Command Stack-Based Buffer Overflow
Attacker can execute arbitrary code or cause denial of service via stack-based buffer overflow in freeFTPd if anonymous access is enabled.
- 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-2013-10042?
CVE-2013-10042 is a critical memory corruption vulnerability in freeFTPd, published on 31 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
A stack-based buffer overflow vulnerability exists in freeFTPd version 1.0.10 and earlier in the handling of the FTP PASS command. When an attacker sends a specially crafted password string, the application fails to validate input length, resulting in memory corruption. This can lead to denial of service or arbitrary code execution. Exploitation requires the anonymous user account to be enabled.
Weakness: CWE-121
Which versions are affected by CVE-2013-10042?
It affects 1 product.
Products include Freeftpd Freeftpd.
How do I fix CVE-2013-10042?
No fix has been published for CVE-2013-10042 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-2013-10042 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2013-10042 exists.
Public exploit code: 1 Metasploit module.
Other vulnerabilities in freeFTPd
Sources
Also known as GHSA-pf4h-wcfc-95m7.