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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.51%, higher than 45% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-06T19:37:33.000Z
- Modified: 2026-10-26T17:10:03.270Z
- Also known as: GHSA-rpmf-866q-6p89
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- patrickjuchli basic-ftp: < 5.3.1
- basic-ftp (npm): before 5.3.1

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rpmf-866q-6p89> (exploit, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44240> (advisory)
- <https://github.com/patrickjuchli/basic-ftp> (package)

## Sources

- CVE List: [CVE-2026-44240](https://www.cve.org/CVERecord?id=CVE-2026-44240), CVE Terms of Use, modified 2026-05-14
- GitHub Advisory Database: [GHSA-rpmf-866q-6p89](https://github.com/advisories/GHSA-rpmf-866q-6p89), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-44240](https://nvd.nist.gov/vuln/detail/CVE-2026-44240), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-44240 · Whole record: https://cve.day/CVE-2026-44240.json · Rebuilt by cve.day 2026-11-25T22:59:21.500Z
