Read the docs

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

Priority HIGH 75CWE-1333Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Partial Red Hat: 2 fixed, 2 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-1333.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0037 31st percentileScored 2026-11-07
Fix Partial basic-ftp (patrickjuchli): 6.2.1basic-ftp (npm): 6.2.1Red Hat: 2 advisoriesRed Hat: 2 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
patrickjuchlibasic-ftpbefore 6.2.16.2.1Patch availableCNA
—basic-ftp (npm)before 6.2.16.2.1Patch availableGHSA-c475-qrg2-pj4r
  • basic-ftp Vendorpatrickjuchli Affected before 6.2.1 Fixed in 6.2.1 Patch available CNA
  • basic-ftp (npm) Vendor— Affected before 6.2.1 Fixed in 6.2.1 Patch available GHSA-c475-qrg2-pj4r

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:*:*:*——patrickjuchli
  • cpe:2.3:a:patrickjuchli:basic-ftp:*:*:*:*:*:*:*:* Versions — — ·patrickjuchli

Remediation

  • Fix · CNA basic-ftp (patrickjuchli) Fixed in 6.2.1
  • Fix · GHSA-c475-qrg2-pj4r basic-ftp (npm) Fixed in 6.2.1 Advisory →

Red Hat 2 advisories

  • RHSA-2026:86891 Released 2026-10-21 · Red Hat rating Critical
    RHOAI 3.5.2 - Red Hat OpenShift AI
    • Red Hat OpenShift AI 3.5 registry.redhat.io/rhoai/odh-automl-rhel9, registry.redhat.io/rhoai/odh-built-in-detector-rhel9, registry.redhat.io/rhoai/odh-cli-rhel9 +47
  • RHSA-2026:86675 Released 2026-10-21 · Red Hat rating Important
    Ansible plug-ins for Red Hat Developer Hub Product Release Update
    • Red Hat Ansible Automation Platform 2.2 registry.redhat.io/ansible-automation-platform/automation-portal

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux AI (RHEL AI) 3AffectedNo fix yet
Red Hat OpenShift GitOpsAffectedNo fix planned: Will not fix
Red Hat Ansible Automation Platform 2.2Fixed RHSA-2026:86675
Red Hat OpenShift AI 3.5Fixed RHSA-2026:86891
Not affected: 7 products
  • Red Hat Developer Hub 1
  • Red Hat Enterprise Linux 10
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9
  • Red Hat Hardened Images
  • Red Hat OpenShift AI 3.5
  • Self-service automation portal 2

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-102990
  2. 2026-10-03 Alias added: GHSA-c475-qrg2-pj4r
  3. 2026-10-06 Affected versions changed · Red Hat
  4. 2026-10-20 Affected versions changed · Red Hat
  5. 2026-10-21 Fix available: RHSA-2026:86675 · Red Hat
  6. 2026-10-21 Fix available: Red Hat Ansible Automation Platform 2.2 · Red Hat
  7. 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
  8. 2026-10-22 Fix available: Red Hat OpenShift AI 3.5 · Red Hat
  9. 2026-10-23 Affected versions changed · Red Hat
  10. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2026-22075 Basic FTP has Path Traversal Vulnerability in its downloadToDir() method CVSS 3.1CRITICAL 9.8
  • TI-2026-28837 FTP Command Injection via CRLF in basic-ftp CVSS 3.1HIGH 8.6
  • TI-2026-32217 Uncontrolled resource consumption in patrickjuchli basic-ftp CVSS 3.1HIGH 7.5
  • TI-2026-29925 basic-ftp vulnerable to denial of service via unbounded memory consumption in Client.list() CVSS 3.1HIGH 7.5

Sources