The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-4289

CVE-2025-4289: PCMan FTP Server Buffer Overflow Flaw

CVE-2025-4289 is a critical buffer overflow vulnerability in PCMan FTP Server 2.0.7 affecting the RNTO command handler. Attackers can exploit this remotely to compromise systems. Learn about technical details, impact, and mitigations.

Published: March 18, 2026

CVE-2025-4289 Overview

A critical buffer overflow vulnerability has been identified in PCMan FTP Server 2.0.7 affecting the RNTO Command Handler component. This vulnerability allows remote attackers to exploit improper memory handling when processing RNTO (rename to) commands, potentially leading to arbitrary code execution or denial of service conditions. The exploit has been publicly disclosed, increasing the risk of active exploitation in the wild.

Critical Impact

Remote attackers can exploit this buffer overflow vulnerability in the RNTO command handler to potentially execute arbitrary code or crash the FTP server without authentication.

Affected Products

  • PCMan FTP Server 2.0.7
  • pcman ftp_server (cpe:2.3:a:pcman:ftp_server:2.0.7:::::::*)

Discovery Timeline

  • 2025-05-05 - CVE-2025-4289 published to NVD
  • 2025-05-16 - Last updated in NVD database

Technical Details for CVE-2025-4289

Vulnerability Analysis

This buffer overflow vulnerability resides in the RNTO (rename to) command handler of PCMan FTP Server. The RNTO command is part of the FTP protocol's file renaming functionality, used in conjunction with the RNFR (rename from) command to rename files on the server. When processing specially crafted RNTO command arguments, the server fails to properly validate the length of user-supplied input before copying it into a fixed-size memory buffer.

The vulnerability is network-accessible, meaning attackers can trigger the exploit remotely without requiring local access to the target system. No authentication is required to exploit this vulnerability, as FTP servers typically process protocol commands before or during the authentication phase, and the vulnerable code path can be reached by unauthenticated users.

Root Cause

The root cause of this vulnerability is classified under CWE-119 (Improper Restriction of Operations within the Bounds of a Memory Buffer) and CWE-120 (Buffer Copy without Checking Size of Input). The RNTO command handler does not properly validate the size of incoming path arguments before copying them into stack or heap-allocated buffers. When an attacker sends an oversized RNTO argument, the excess data overwrites adjacent memory regions, potentially corrupting critical program state including return addresses, function pointers, or other control flow data.

Attack Vector

The attack is initiated remotely over the network by establishing a connection to the vulnerable FTP server on its configured port (typically port 21). An attacker can craft a malicious FTP session that sends an RNTO command with an excessively long pathname argument. This oversized input triggers the buffer overflow condition when the server processes the rename operation.

The exploitation mechanism involves sending a carefully crafted payload that:

  1. Establishes a connection to the FTP service
  2. Issues an RNFR command to initiate a file rename operation
  3. Follows with a malicious RNTO command containing shellcode or crafted data
  4. Overwrites critical memory structures to hijack program execution

The vulnerability has been publicly documented and exploit details are available through security research channels. For technical details on the exploitation mechanism, see the Fitoxs Exploit Report and VulDB Entry #307396.

Detection Methods for CVE-2025-4289

Indicators of Compromise

  • Unusual FTP connection patterns with abnormally long RNTO command arguments exceeding typical pathname lengths
  • FTP server crashes or unexpected service restarts coinciding with network traffic on port 21
  • Memory access violations or segmentation faults in PCMan FTP Server process logs
  • Presence of shellcode patterns or NOP sleds in FTP traffic captures

Detection Strategies

  • Monitor FTP traffic for RNTO commands with pathname arguments exceeding 256-512 bytes
  • Implement intrusion detection rules to flag buffer overflow signature patterns targeting FTP services
  • Enable application crash monitoring and core dump analysis for the PCMan FTP Server process
  • Deploy network-based anomaly detection to identify exploitation attempts through malformed FTP commands

Monitoring Recommendations

  • Configure logging to capture all FTP command activity, particularly RNFR and RNTO command pairs
  • Set up alerts for FTP service availability issues that may indicate successful exploitation
  • Monitor system event logs for application crashes related to the FTP server executable
  • Review network traffic logs for connections exhibiting reconnaissance or exploitation behavior patterns

How to Mitigate CVE-2025-4289

Immediate Actions Required

  • Disable or restrict access to PCMan FTP Server 2.0.7 until a patch is available
  • Implement network-level access controls to limit FTP service exposure to trusted networks only
  • Deploy a web application firewall or intrusion prevention system with buffer overflow detection capabilities
  • Consider migrating to an actively maintained FTP server solution with better security practices

Patch Information

No official vendor patch has been identified for this vulnerability at the time of publication. PCMan FTP Server appears to be legacy software without active security maintenance. Organizations should evaluate alternative FTP server solutions that receive regular security updates. Monitor the VulDB entry for any updates regarding remediation options.

Workarounds

  • Restrict FTP server access to internal networks only using firewall rules to block external connections on port 21
  • Implement IP whitelisting to allow FTP connections only from known, trusted IP addresses
  • Deploy an application-layer firewall capable of inspecting and limiting FTP command argument lengths
  • Consider running the FTP service in a sandboxed environment or container to limit potential damage from exploitation
bash
# Example firewall rules to restrict FTP access (iptables)
# Allow FTP only from trusted internal network
iptables -A INPUT -p tcp --dport 21 -s 192.168.1.0/24 -j ACCEPT
iptables -A INPUT -p tcp --dport 21 -j DROP

# Alternative: Disable FTP service entirely if not required
net stop "PCMan FTP Server"
sc config "PCMan FTP Server" start=disabled

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechPcman Ftp Server

  • SeverityMEDIUM

  • CVSS Score6.9

  • EPSS Probability0.65%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityLow
  • CWE References
  • CWE-119

  • CWE-120
  • Technical References
  • Fitoxs Exploit Report

  • VulDB CTI ID #307396

  • VulDB #307396

  • VulDB Submission #561626
  • Related CVEs
  • CVE-2025-4161: PCMan FTP Server Buffer Overflow Flaw

  • CVE-2025-4162: Pcman FTP Server Buffer Overflow Flaw

  • CVE-2025-4160: Pcman FTP Server Buffer Overflow Flaw

  • CVE-2025-4159: Pcman Ftp Server Buffer Overflow Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English