Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 62%

CVE-2026-44240: CWE-400: Uncontrolled Resource Consumption in patrickjuchli basic-ftp

0
High
VulnerabilityCVE-2026-44240cvecve-2026-44240cwe-400cwe-770
Published: 05/12/2026 (05/12/2026, 20:37:43 UTC)
Source: CVE Database V5
Vendor/Project: patrickjuchli
Product: basic-ftp

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.

CVSS v3.1

Score 7.5high

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

Affected software

basic-ftp
pkg:npm/basic-ftp
Affected versions
<5.3.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/20/2026, 18:51:25 UTC

Technical Analysis

CVE-2026-44240 affects the basic-ftp Node.js client before version 5.3.1. The vulnerability arises from the client not enforcing a maximum size on FTP control-channel multiline responses during the initial banner phase. A malicious or compromised FTP server can exploit this by sending an unterminated multiline response, causing the client to append attacker-controlled data indefinitely to an internal buffer and repeatedly reparse it. This uncontrolled resource consumption leads to denial of service conditions such as process-level crashes or service degradation. The vulnerability is classified under CWE-400 (Uncontrolled Resource Consumption) and CWE-770 (Allocation of Resources Without Limits or Throttling).

Potential Impact

An attacker controlling or compromising an FTP server can cause applications using vulnerable versions of basic-ftp to consume excessive CPU and memory resources during connection establishment. This can result in denial of service through process crashes, container out-of-memory kills, worker restarts, or backlog in processing queues, impacting availability of services relying on automatic FTP connections.

Mitigation Recommendations

This vulnerability is fixed in basic-ftp version 5.3.1. Users should upgrade to version 5.3.1 or later to remediate this issue. Patch status is not explicitly stated in the vendor advisory, but the description confirms the fix is included in 5.3.1. No additional mitigations are specified.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-05T15:42:40.519Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a0392cfcbff5d861018bb8f

Added to database: 05/12/2026, 20:51:27 UTC

Last enriched: 05/20/2026, 18:51:25 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 108

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses