Remote code execution via oversized ASCII command
Published May 1, 2025 · Updated May 1, 2025
Stack buffer overflow in PCMan FTP Server 2.0.0 through 2.0.7 allows remote attackers to execute code via the ASCII command. The ASCII command handler processes an oversized argument without enforcing its stack-buffer boundary, allowing input to overwrite the saved return address. No authentication or user interaction is required; a crafted request can crash the FTP service or redirect execution to a remote-shell payload.
Summary
What happened
Stack buffer overflow in PCMan FTP Server 2.0.0 through 2.0.7 allows remote attackers to execute code via the ASCII command. The ASCII command handler processes an oversized argument without enforcing its stack-buffer boundary, allowing input to overwrite the saved return address. No authentication or user interaction is required; a crafted request can crash the FTP service or redirect execution to a remote-shell payload.
The record
- CVE
- CVE-2025-4162
- Published
- May 1, 2025
- Updated
- May 1, 2025
- Vendor
- PCMan
- Product
- PCMan FTP Server
- Classifications
- CWE-119, CWE-120, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- May 1, 2025CVE publishedPublication date reported by the CVE source.
- May 1, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=2.0.0
- Affected versionversion=2.0.1
- Affected versionversion=2.0.2
- Affected versionversion=2.0.3
- Affected versionversion=2.0.4
- Affected versionversion=2.0.5
- Affected versionversion=2.0.6
- Affected versionversion=2.0.7
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- PCMan FTP Server 2.0.7 Buffer Overflowweaponized · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo