basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| patrickjuchli | basic-ftp | before 6.2.1 | 6.2.1 | Patch available | CNA |
| — | basic-ftp (npm) | before 6.2.1 | 6.2.1 | Patch available | GHSA-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.
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| 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 CriticalRHOAI 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 ImportantAnsible 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 →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AI (RHEL AI) 3 | Affected | No fix yet |
| Red Hat OpenShift GitOps | Affected | No fix planned: Will not fix |
| Red Hat Ansible Automation Platform 2.2 | Fixed | RHSA-2026:86675 |
| Red Hat OpenShift AI 3.5 | Fixed | 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
- 2026-10-02 Threatist record created from CVE-2026-102990
- 2026-10-03 Alias added: GHSA-c475-qrg2-pj4r
- 2026-10-06 Affected versions changed · Red Hat
- 2026-10-20 Affected versions changed · Red Hat
- 2026-10-21 Fix available: RHSA-2026:86675 · Red Hat
- 2026-10-21 Fix available: Red Hat Ansible Automation Platform 2.2 · Red Hat
- 2026-10-22 Fix available: RHSA-2026:86891 · Red Hat
- 2026-10-22 Fix available: Red Hat OpenShift AI 3.5 · Red Hat
- 2026-10-23 Affected versions changed · Red Hat
- 2026-10-27 Affected versions changed · Red Hat
References
More patrickjuchli vulnerabilities
- 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
- CVE-2026-102990 · CVE Program
- CVE-2026-102990 · NVD
- FIRST EPSS
- GHSA-c475-qrg2-pj4r · GitHub Advisory Database · CC BY 4.0
- CVE-2026-102990 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences