high7.5
CVE-2026-41324
basic-ftp vulnerable to denial of service via unbounded memory consumption in Client.list()
Impact
basic-ftp is an FTP client for Node.js. Versions prior to 5.3.0 are vulnerable to denial of service through unbounded memory growth while processing directory listings from a remote FTP server. A malicious or compromised server can send an extremely large or never-ending listing response to `Client.list()`, causing the client process to consume memory until it becomes unstable or crashes. Version 5.3.0 fixes the issue.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| npm | basic-ftp | <= 5.2.2 | 5.3.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Patrickjuchli | Basic-Ftp | before 5.3.0 |