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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-2018-25254

CVE-2018-25254: Nico-FTP Buffer Overflow Vulnerability

CVE-2018-25254 is a structured exception handler buffer overflow flaw in Nico-FTP 3.0.1.19 that enables remote code execution. This article covers the technical details, affected versions, impact, and mitigation.

Updated: May 16, 2026

CVE-2018-25254 Overview

CVE-2018-25254 is a structured exception handler (SEH) buffer overflow in NICO-FTP 3.0.1.19. Remote attackers exploit the flaw by sending crafted FTP server responses that overflow a stack buffer in the client. The overflow overwrites the SEH chain, enabling redirection of execution to attacker-controlled shellcode. The weakness maps to [CWE-787] Out-of-Bounds Write. Successful exploitation yields arbitrary code execution in the context of the user running the FTP client.

Critical Impact

Remote attackers can achieve arbitrary code execution on hosts running NICO-FTP 3.0.1.19 by delivering oversized FTP response data that overwrites the SEH pointer.

Affected Products

  • NICO-FTP 3.0.1.19 (Windows FTP client)
  • nico-ftp_project:nico-ftp package distributions
  • Legacy installations sourced from third-party software repositories

Discovery Timeline

  • 2026-04-04 - CVE-2018-25254 published to the National Vulnerability Database (NVD)
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2018-25254

Vulnerability Analysis

The vulnerability resides in how NICO-FTP 3.0.1.19 handles server-supplied FTP response data. The client copies response strings into a fixed-size stack buffer without bounds checking. Oversized input overflows the buffer, corrupting adjacent stack frames including the SEH registration record. When an exception is later raised during processing, the corrupted handler pointer transfers execution to attacker-supplied data. This pattern is documented in Exploit-DB entry #45442 as a working SEH overwrite primitive against the client.

Root Cause

The root cause is missing input length validation on FTP response handlers, classified under [CWE-787] Out-of-Bounds Write. The application does not enforce maximum lengths before copying server data into stack buffers. The binary lacks SafeSEH and SEHOP protections on the vulnerable module, allowing the overwritten handler to point at attacker-controlled memory.

Attack Vector

Exploitation requires the victim to connect to an attacker-controlled FTP server. The attacker returns a crafted oversized response containing a nSEH/SEH overwrite payload, a pop/pop/ret gadget, and shellcode. When the client processes the response and an exception fires, the SEH dispatcher invokes the attacker's gadget and pivots execution into the shellcode. The attack is unauthenticated and network-reachable, requiring only that the user initiate a connection to the malicious server.

No verified code examples are available. See the Exploit-DB #45442 entry and the VulnCheck Advisory - Nico FTP Buffer Overflow for technical specifics.

Detection Methods for CVE-2018-25254

Indicators of Compromise

  • Outbound TCP connections from nico-ftp.exe to untrusted FTP servers on port 21 or non-standard ports
  • Unexpected child processes spawned by nico-ftp.exe, such as cmd.exe, powershell.exe, or rundll32.exe
  • Crash artifacts or Windows Error Reporting events referencing nico-ftp.exe with access violations near SEH dispatch
  • FTP banner responses containing long ASCII runs, NOP sleds, or non-printable byte sequences

Detection Strategies

  • Monitor process lineage to flag any child process created by nico-ftp.exe, which should not normally spawn interactive shells or scripting hosts
  • Inspect FTP traffic for response payloads exceeding typical command-reply lengths, especially on initial connection sequences
  • Correlate client crashes with prior FTP session traffic to identify exploitation attempts that fail before code execution

Monitoring Recommendations

  • Enable command-line and process-creation auditing on hosts where legacy FTP clients are permitted
  • Alert on unsigned executable writes to user-writable directories shortly after FTP client activity
  • Capture and retain FTP session metadata in centralized logging for retrospective hunts against known exploit patterns

How to Mitigate CVE-2018-25254

Immediate Actions Required

  • Uninstall NICO-FTP 3.0.1.19 from all endpoints, as the project has no active vendor maintenance
  • Block outbound FTP (TCP/21) at the perimeter for hosts that previously used the client
  • Replace with a maintained FTP/SFTP client such as WinSCP or FileZilla configured for SFTP or FTPS

Patch Information

No vendor patch is available for NICO-FTP 3.0.1.19. The product is no longer maintained, and no fixed version has been published. Refer to the VulnCheck Advisory - Nico FTP Buffer Overflow for advisory details and the Exploit-DB #45442 entry for proof-of-concept context. Remediation requires removal of the affected software.

Workarounds

  • Restrict the FTP client to allowlisted internal servers using host-based firewall rules
  • Run the client under a low-privilege account inside an isolated network segment if removal is not immediately feasible
  • Apply application control policies to block execution of nico-ftp.exe enterprise-wide until decommissioning is complete
bash
# Application control example - block NICO-FTP execution via Windows AppLocker PowerShell
New-AppLockerPolicy -RuleType Path -User Everyone `
  -RuleNamePrefix "Block-NICO-FTP" `
  -Path "%PROGRAMFILES%\NICO-FTP\nico-ftp.exe" `
  -Action Deny | Set-AppLockerPolicy -Merge

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

  • Vulnerability Details
  • TypeBuffer Overflow

  • Vendor/TechNico Ftp

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.44%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/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
  • AvailabilityHigh
  • CWE References
  • CWE-787
  • Technical References
  • Softonic Software Download

  • Exploit-DB #45442

  • VulnCheck Advisory - Nico FTP Buffer Overflow
  • Latest CVEs
  • CVE-2026-43328: Linux Kernel Use-After-Free Vulnerability

  • CVE-2026-43329: Linux Kernel Netfilter DoS Vulnerability

  • CVE-2026-43330: Linux Kernel Buffer Overflow Vulnerability

  • CVE-2026-43331: Linux Kernel DOS Vulnerability
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