Skip to main content

basic-ftp CVE-2026-41324

| EUVDEUVD-2026-25390 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-04-24 GitHub_M GHSA-rp42-5vxx-qpwr
7.5
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Red Hat
5.9 MEDIUM
qualitative

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

7
Patch released
Apr 27, 2026 - 17:48 nvd
Patch available
Re-analysis Queued
Apr 24, 2026 - 14:52 vuln.today
cvss_changed
Patch available
Apr 24, 2026 - 05:31 EUVD
Analysis Generated
Apr 24, 2026 - 04:30 vuln.today
EUVD ID Assigned
Apr 24, 2026 - 04:00 euvd
EUVD-2026-25390
Analysis Generated
Apr 24, 2026 - 04:00 vuln.today
CVE Published
Apr 24, 2026 - 03:28 nvd
HIGH 7.5

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 2 npm packages depend on basic-ftp (1 direct, 1 indirect)

Ecosystem-wide dependent count for version 5.3.0.

DescriptionGitHub Advisory

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.

AnalysisAI

Denial of service in basic-ftp for Node.js allows remote malicious FTP servers to crash client applications via unbounded memory consumption during directory listing operations. Attackers controlling or compromising an FTP server can send infinite or extremely large listing responses to Client.list() calls, exhausting client memory until process termination. Unauthenticated network attack with low complexity (CVSS:3.1 AV:N/AC:L/PR:N). No public exploit identified at time of analysis, though attack concept is straightforward for anyone operating a malicious FTP server.

Technical ContextAI

This vulnerability affects the basic-ftp library (versions prior to 5.3.0), a Node.js FTP client implementation. The root cause is improper resource management (CWE-400) during directory listing parsing. When the Client.list() method processes FTP LIST command responses, it lacks bounds checking or memory limits on the incoming data stream. In Node.js environments, unbounded string or buffer accumulation during parsing can quickly exhaust heap memory, especially when dealing with malicious servers that stream gigabytes of directory listing data or never send an end-of-transmission marker. The vulnerability resides in client-side FTP protocol handling code, where the expectation of well-behaved servers leads to unsafe memory allocation patterns.

RemediationAI

Upgrade basic-ftp to version 5.3.0 or later, which implements memory bounds checking during directory listing operations. Update package.json dependencies and run 'npm update basic-ftp' or equivalent package manager commands to install the patched version. Vendor advisory with technical details: https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-rp42-5vxx-qpwr. If immediate upgrading is not feasible, implement these compensating controls: (1) restrict FTP connections to an allowlist of verified, trusted servers only - do not accept user-supplied FTP URLs or dynamically discovered endpoints; (2) deploy resource limits using Node.js --max-old-space-size flag to contain memory exhaustion impact, though this trades DoS stability for crash recovery; (3) implement application-level timeouts on Client.list() calls with aggressive thresholds (e.g., 30-60 seconds) to abort suspiciously long listing operations, noting this may break legitimate connections to servers with extremely large directories; (4) run FTP client operations in isolated worker processes or containers with memory cgroups limits to prevent single-process crashes from affecting entire applications. These workarounds reduce but do not eliminate risk and may cause operational false positives. Patching to 5.3.0 remains the definitive solution.

CVE-2024-55591 CRITICAL POC
9.8 Jan 14

FortiOS and FortiProxy contain an authentication bypass via the Node.js websocket module allowing unauthenticated remote

CVE-2014-7205 CRITICAL POC
10.0 Oct 08

Eval injection vulnerability in the internals.batch function in lib/batch.js in the bassmaster plugin before 1.5.2 for t

CVE-2025-59528 CRITICAL POC
10.0 Sep 22

Flowise version 3.0.5 contains a remote code execution vulnerability in the CustomMCP node. The mcpServerConfig paramete

CVE-2017-14849 HIGH POC
7.5 Sep 28

Node.js 8.5.0 before 8.6.0 allows remote attackers to access unintended files, because a change to ".." handling was inc

CVE-2017-5941 CRITICAL POC
9.8 Feb 09

An issue was discovered in the node-serialize package 0.0.4 for Node.js. Rated critical severity (CVSS 9.8), this vulner

CVE-2014-3744 HIGH POC
7.5 Oct 23

Directory traversal vulnerability in the st module before 0.2.5 for Node.js allows remote attackers to read arbitrary fi

CVE-2014-9566 HIGH POC
7.5 Mar 10

Multiple SQL injection vulnerabilities in the Manage Accounts page in the AccountManagement.asmx service in the Solarwin

CVE-2013-4660 MEDIUM POC
6.8 Jun 28

The JS-YAML module before 2.0.5 for Node.js parses input without properly considering the unsafe !!js/function tag, whic

CVE-2015-5688 MEDIUM POC
5.0 Sep 04

Directory traversal vulnerability in lib/app/index.js in Geddy before 13.0.8 for Node.js allows remote attackers to read

CVE-2026-45321 CRITICAL POC
9.6 May 12

Credential-harvesting malware compromised 84 versions of 42 TanStack npm packages on 2026-05-11 via chained GitHub Actio

CVE-2014-7192 CRITICAL POC
10.0 Dec 11

Eval injection vulnerability in index.js in the syntax-error package before 1.1.1 for Node.js 0.10.x, as used in IBM Rat

CVE-2013-4450 MEDIUM POC
5.0 Oct 21

The HTTP server in Node.js 0.10.x before 0.10.21 and 0.8.x before 0.8.26 allows remote attackers to cause a denial of se

Vendor StatusVendor

Share

CVE-2026-41324 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy