Skip to content

basic-ftp

basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)

CVE-2026-102990Published 30 Sep 2026, 19:44 UTC

Real-world risk

1.7/ 10Low

Routine

If the vulnerable configuration applies to you: 3.8

PreliminaryFrom the CVSS vector only · confidence low

CVSS

8.2

scored by the vendor (CNA), CVSS 4.0

In plain words

No plain-language summary yet. The original description is below.

Original description (from GitHub_M)

basic-ftp is an FTP client for Node.js. Prior to 6.2.1, Client.list() can be forced by a malicious or compromised FTP server to spend quadratic CPU time parsing a directory listing because the RE_LINE expression in src/parseListUnix.ts backtracks across adjacent variable-length owner and group fields when a long Unix-style line has a valid prefix but cannot satisfy the later size and date fields. parseList() selects a parser from the last nonblank line and then applies it to every line, so a normal final line can select the Unix parser while an earlier crafted line blocks the Node.js event loop and freezes the process. This issue is fixed in version 6.2.1.

Am I affected?

ProductAffected versions (from the sources)Fixed in
basic-ftpNiche< 6.2.16.2.1

What to do

Update to a fixed version: 6.2.1.

Why this score

FactorValueEvidence×
ImpactDenial of serviceCrash or resource exhaustion onlyFrom the CVSS vector0.40
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededNoneNo accountFrom the CVSS vector1.00
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationUncommonNeeds a non-default feature that a minority enablesFrom the CVSS vector0.45
ReliabilityReliableDeterministic: injection, logic bug, path traversalFrom the CVSS vector1.00

Threat level T3: Public proof of concept (× 0.95)

A qualifying GitHub proof of concept, an unverified Exploit-DB entry, CISA's SSVC says PoC, or a reference tagged as an exploit

  • Reference tagged as exploit (link)
  • CISA SSVC: proof of concept

EPSS 0.4% chance of exploitation in 30 days (percentile 33), as of 2026-12-05.

The arithmetic
  1. Prerequisites multiplied together0.450
  2. Threat T3: Public proof of concept0.950
  3. 10 × impact 0.4 × prerequisites 0.45 × threat 0.951.710
  4. Rounded to one decimal between 0.1 and 101.7

How the score works

Exploitation and evidence timeline

  1. 30 Sep 2026 Published
  2. 3 Dec 2026 Reference tagged as exploit first seen
  3. 3 Dec 2026 CISA SSVC: proof of concept first seen
  4. 3 Dec 2026 Risk 1.7 (cvss fallback)

Weakness

CWE-1333

References

Get alerts for basic-ftp

Free email or text alerts when a vulnerability in basic-ftp reaches risk 8 or higher. Nothing else.