High severity · published May 12, 2026
CVE-2026-44240
basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering
7.5
CVSS
0.5%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 44% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
BA
basic-ftp · patrickjuchli
< 5.3.1 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-44240
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-44240
github.com
https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p89
More from basic-ftp
9.8
CVE-2026-27699
Basic FTP has Path Traversal Vulnerability in its downloadToDir() method
8.6
CVE-2026-39983
FTP Command Injection via CRLF in basic-ftp
8.2
CVE-2026-102990
basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)
7.5
CVE-2026-41324
basic-ftp vulnerable to denial of service via unbounded memory consumption in Client.list()
