{"id":"CVE-2026-44240","summary":"basic-ftp allows a malicious FTP server to cause client-side denial of service via unbounded multiline control response buffering","details":"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.","aliases":["GHSA-rpmf-866q-6p89"],"modified":"2026-07-08T08:13:28.552177472Z","published":"2026-05-12T20:37:43.098Z","related":["CGA-v64g-qqw2-h8h9"],"database_specific":{"cna_assigner":"GitHub_M","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44240.json","cwe_ids":["CWE-400","CWE-770"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44240.json"},{"type":"ADVISORY","url":"https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p89"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-44240"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/patrickjuchli/basic-ftp","events":[{"introduced":"0"},{"fixed":"980371bb6057d78d479b5cfc18683392abd2c45f"}],"database_specific":{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"0"},{"fixed":"5.3.1"}]}}],"versions":["v5.3.0","v5.2.2","v5.2.1","v5.2.0","v5.1.0","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","4.6.6","v4.6.5","v4.6.4","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.4","v4.5.3","v4.5.2","v4.5.1","v4.5.0","v4.4.1","v4.4.0","v4.3.2","v4.3.1","v4.3.0","v4.2.1","v4.2.0","v4.1.0","v4.0.2","v4.0.1","v4.0.0","v3.8.3","v3.8.2","v3.8.1","v3.8.0","v3.7.1","v3.7.0","v3.6.0","v3.5.0","v3.4.4","v3.4.3","v3.4.2","v3.4.1","v3.4.0","v3.3.1","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.1","v3.1.0","v3.0.0","v2.17.1","v2.17.0","v2.16.1","v2.16.0","v2.15.0","v2.14.4","v2.14.3","v2.14.2","v2.14.1","v2.14.0","v2.13.2","v2.13.1","v2.13.0","v2.12.3","v2.12.2","v2.12.1","v2.12.0","v2.10.0","v2.9.2","v2.9.1","v2.9.0","v2.8.3","v2.8.2","v2.8.1","v2.8.0","v2.7.1","v2.7.0","v2.6.2","v2.6.1","v2.6.0","v2.5.2","v2.5.1","v2.5.0","v2.4.2","v2.4.1","v2.4.0","v2.3.3","v2.3.2","v2.3.1","v2.3.0","v2.2.1","v2.2.0","v2.1.0","v2.0.0","v1.2.0","v1.1.1","v1.1.0","v1.0.9","v1.0.8","v1.0.7","1.0.6","v1.0.5","v1.0.4","v1.0.3","v1.0.2"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-44240.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}