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-2026-41324

CVE-2026-41324: Patrickjuchli Basic-ftp DoS Vulnerability

CVE-2026-41324 is a denial of service vulnerability in Basic-ftp for Node.js caused by unbounded memory growth during FTP directory listings. This article covers technical details, affected versions, and mitigation.

Published: April 30, 2026

CVE-2026-41324 Overview

CVE-2026-41324 is a denial of service vulnerability affecting basic-ftp, a popular FTP client library for Node.js applications. Versions prior to 5.3.0 are vulnerable to unbounded memory growth while processing directory listings from a remote FTP server. A malicious or compromised server can send an extremely large or never-ending listing response to the Client.list() method, causing the client process to consume memory until it becomes unstable or crashes.

Critical Impact

Applications using vulnerable versions of basic-ftp can be forced into memory exhaustion by a malicious FTP server, leading to application crashes and service unavailability.

Affected Products

  • patrickjuchli basic-ftp versions prior to 5.3.0
  • Node.js applications integrating basic-ftp for FTP operations
  • Automated backup and file transfer systems using the vulnerable library

Discovery Timeline

  • 2026-04-24 - CVE CVE-2026-41324 published to NVD
  • 2026-04-27 - Last updated in NVD database

Technical Details for CVE-2026-41324

Vulnerability Analysis

This vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption). The core issue lies in how the basic-ftp library handles directory listing responses from FTP servers. When the Client.list() method is invoked, the library receives and parses directory listing data from the connected server. However, versions prior to 5.3.0 lack proper bounds checking on the size of incoming listing data.

The vulnerability is exploitable over the network without requiring authentication or user interaction. An attacker controlling or compromising an FTP server can craft a malicious response that either contains an extremely large directory listing or streams data indefinitely, causing the client to allocate memory without limits.

Root Cause

The root cause of this vulnerability is the absence of size limits or resource constraints when buffering FTP directory listing responses. The Client.list() method accumulates response data in memory without implementing a maximum buffer size or timeout mechanism to prevent unbounded growth. This allows a malicious server to exhaust the memory resources of the connecting client application.

Attack Vector

The attack vector requires an attacker to control or compromise an FTP server that a vulnerable application connects to. When the victim application calls Client.list() to retrieve a directory listing, the malicious server responds with either:

  1. An extremely large listing response that exceeds reasonable memory limits
  2. A continuous stream of listing data that never terminates

In either scenario, the basic-ftp client continues to buffer the incoming data, eventually exhausting available memory and causing the Node.js process to become unstable or crash. This can be exploited in scenarios where applications connect to user-provided FTP servers or where an attacker has compromised a legitimate FTP server.

The vulnerability mechanism involves the FTP protocol's LIST command response handling. When Client.list() is called, the library opens a data connection and reads the listing response without enforcing memory limits. A malicious server exploits this by sending an arbitrarily large response. For detailed technical information, see the GitHub Security Advisory.

Detection Methods for CVE-2026-41324

Indicators of Compromise

  • Unusual memory growth patterns in Node.js processes using FTP client functionality
  • Application crashes with out-of-memory errors during FTP operations
  • Abnormally large data transfers on FTP data connections
  • FTP server connections that remain open for extended periods during list operations

Detection Strategies

  • Monitor memory utilization of Node.js applications that perform FTP operations for unexpected spikes
  • Implement application-level logging to track FTP LIST command execution times and response sizes
  • Use dependency scanning tools to identify vulnerable versions of basic-ftp (< 5.3.0) in your codebase
  • Configure network monitoring to detect abnormally large FTP data channel transfers

Monitoring Recommendations

  • Deploy application performance monitoring (APM) to track memory consumption patterns during FTP operations
  • Set up alerts for Node.js process memory usage exceeding normal operational thresholds
  • Implement circuit breakers or timeouts around FTP operations to detect potential denial of service attempts
  • Review FTP server connection logs for unusual listing request patterns or extended data transfers

How to Mitigate CVE-2026-41324

Immediate Actions Required

  • Upgrade basic-ftp to version 5.3.0 or later immediately
  • Audit your application dependencies using npm audit or equivalent tools to identify vulnerable packages
  • If immediate upgrade is not possible, implement application-level timeouts for FTP list operations
  • Review and restrict which FTP servers your application is permitted to connect to

Patch Information

The vulnerability has been fixed in basic-ftp version 5.3.0. The fix introduces proper bounds checking and resource limits when processing directory listing responses. Organizations should update their package.json to require version 5.3.0 or higher and run npm update basic-ftp to apply the security patch. For complete details, refer to the GitHub Security Advisory.

Workarounds

  • Implement application-level timeouts around Client.list() calls to prevent indefinite operations
  • Add memory monitoring and automatic process restart mechanisms for applications performing FTP operations
  • Use a proxy or intermediary service to validate and limit FTP responses before they reach your application
  • Restrict FTP server connections to a whitelist of trusted servers only
bash
# Update basic-ftp to patched version
npm update basic-ftp

# Verify installed version is 5.3.0 or later
npm list basic-ftp

# Run security audit to check for other vulnerabilities
npm audit

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

  • Vulnerability Details
  • TypeDOS

  • Vendor/TechPatrickjuchli Basic Ftp

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.06%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-400
  • Vendor Resources
  • GitHub Security Advisory
  • 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 Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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