Vulnerability 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 Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p
- https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p
FAQ
What is CVE-2026-44240?
CVE-2026-44240 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 se...
How severe is CVE-2026-44240?
CVE-2026-44240 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-44240?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.