CVE-2013-10042: A stack-based buffer overflow vulnerability exists in freeFTPd version 1.0.10 and earlier in the handling of t
CVE-2013-10042 is a critical-severity flaw (CVSS 9.8) affecting freeftpd. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Critical severity
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 2.8% (top 14%) |
| CISA exploited list | No |
| Weakness | CWE-121 |
| Published | 2025-07-31 |
| Last modified | 2026-06-16 |
Last updated 2026-06-16 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Write-up: raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/ftp/
- Write-up: www.exploit-db.com/exploits/27747
- Write-up: www.vulncheck.com/advisories/freeftpd-pass-command-stack-based-buffer-overflow
- Metasploit: freeFTPd PASS Command Buffer Overflow
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2013-10042?
freeftpd: upgrade to newer than 1.0.10. Exact commands for each OS are on this page.
Is CVE-2013-10042 being exploited?
CVE-2013-10042 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2013-10042 affect?
CVE-2013-10042 affects freeftpd. Severity is critical (CVSS 9.8). 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, r
How urgent is CVE-2013-10042?
Priority 66/100. Critical severity; Public exploit reference; Remotely exploitable, no login, no user action