NetSight
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

EcosystemPackageAffectedFixed in
npmbasic-ftp<= 5.2.25.3.0

Affected products

VendorProductAffected versions
PatrickjuchliBasic-Ftp
before 5.3.0

Weakness classification

References