CVE-2026-41324 Details
Description
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.
A denial-of-service vulnerability has been identified in basic-ftp, an FTP client for Node.js, affecting versions through 5.2.2. The issue arises from unbounded memory consumption while handling directory listings from remote FTP servers. A malicious or compromised server can send excessively large or infinite listing responses to the Client.list() method. This causes the client process to use memory continuously, leading to instability or a crash. The vulnerability is rooted in the default directory listing handling, where the entire response is buffered in memory without limits, allowing for excessive memory allocation until the process is terminated.
Users can upgrade to basic-ftp version 5.3.0, which addresses this vulnerability. For those unable to upgrade, it is recommended to enforce a maximum size for directory listings, abort transfers that exceed this limit, and prefer incremental or streaming parsing methods instead of full-response buffering.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 24, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rp42-5vxx-qpwr | CISA-ADP | ExploitMitigationVendor Advisory |
| https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rp42-5vxx-qpwr | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| patrickjuchli basic-ftp | < 5.3.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 27, 2026 | Initial Analysis | [email protected] |
| Apr 24, 2026 | CVE Modified | CISA-ADP |
| Apr 24, 2026 | New CVE Received | [email protected] |