Skip to main content
← All vulnerabilities
CVE-2026-44240GHSA-RPMF-866Q-6P89

basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 5.3.1
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

basic-ftp is an FTP client for Node.js. Prior to 5.3.1, basic-ftp is vulnerable to client-side denial of service when parsing FTP control-channel multiline responses. A malicious or compromised FTP server can send an unterminated multiline response during the initial FTP banner phase, before authentication. The client keeps appending attacker-controlled data into FtpContext._partialResponse and repeatedly reparses the accumulated buffer without enforcing a maximum control response size. As a result, an application using basic-ftp can remain stuck in connect() while memory and CPU usage grow under attacker-controlled input. This can lead to process-level denial of service, container OOM kills, worker restarts, queue backlog, or service degradation in applications that automatically connect to FTP endpoints. This vulnerability is fixed in 5.3.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • patrickjuchli basic-ftp

    fixed in 5.3.1

  • basic-ftpnpm

    fixed in 5.3.1

References 1

GitHub · patrickjuchli/basic-ftp