CVE-2026-102990 basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
- Technology
- UbuntuDebianRed Hat
Description
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.
Upgrade path
12 packages: 2 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/node-proxy-agents(Debian 13) | = 0~2024040606-6; = 0~2024040606-6+deb13u1; = 0~2025070717+~cs15.2.7-1; = 0~2025070717+~cs15.3.7-1 +11 more | No fix listed | No fix yet |
| redhat/ansible-automation-platform/automation-portal:1792523640(Red Hat ansible_portal 2.2) | All versions | No fix listed | No fix yet |
| redhat/microshift-gitops(Red Hat openshift_gitops 1) | All versions | No fix listed | No fix yet |
| redhat/openshift-gitops-argocd-cli(Red Hat openshift_gitops 1) | All versions | No fix listed | No fix yet |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791825469(Red Hat openshift_ai 3.5 el9) | All versions | No fix listed | No fix yet |
| redhat/rust(Red Hat enterprise_linux_ai 3) | All versions | No fix listed | No fix yet |
| ubuntu/node-proxy-agents(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-proxy-agents(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/node-proxy-agents(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| debian/node-proxy-agents(Debian 14) | < 0~2025070717+~cs16.2.9-1; = 0~2024040606-6; = 0~2025070717+~cs15.2.7-1; = 0~2025070717+~cs15.3.7-1 +9 more | 0~2025070717+~cs16.2.9-1 | Fixed |
| npm basic-ftp(npm) | < 6.2.1; <= 6.2.0 | 6.2.1 | Fixed |
| patrickjuchli basic-ftp | = < 6.2.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| patrickjuchli basic-ftp | = < 6.2.1 | No fix listed |
| redhat/ansible-automation-platform/automation-portal:1792523640(Red Hat:ansible_portal:2.2) | All versions | No fix listed |
| redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9:1791825469(Red Hat:openshift_ai:3.5::el9) | All versions | No fix listed |
| redhat/rust(Red Hat:enterprise_linux_ai:3) | All versions | No fix listed |
| redhat/microshift-gitops(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| redhat/openshift-gitops-argocd-cli(Red Hat:openshift_gitops:1) | All versions | No fix listed |
| debian/node-proxy-agents(Debian:13) | All versions | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2024040606-6 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2024040606-6+deb13u1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs15.2.7-1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs15.3.7-1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs15.3.8-1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs15.3.8-2 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs15.3.8-3 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717+~cs16.2.9-1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-1 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-2 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-3 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-4 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-5 | No fix listed |
| debian/node-proxy-agents(Debian:13) | = 0~2025070717-6 | No fix listed |
| debian/node-proxy-agents(Debian:14) | < 0~2025070717+~cs16.2.9-1 | 0~2025070717+~cs16.2.9-1 |
| debian/node-proxy-agents(Debian:14) | = 0~2024040606-6 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717+~cs15.2.7-1 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717+~cs15.3.7-1 | No fix listed |
Show 14 more
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/node-proxy-agents(Debian:14) | = 0~2025070717+~cs15.3.8-1 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717+~cs15.3.8-2 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717+~cs15.3.8-3 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-1 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-2 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-3 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-4 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-5 | No fix listed |
| debian/node-proxy-agents(Debian:14) | = 0~2025070717-6 | No fix listed |
| npm basic-ftp(npm) | <= 6.2.0 | No fix listed |
| ubuntu/node-proxy-agents(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/node-proxy-agents(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/node-proxy-agents(Ubuntu:26.10) | All versions | No fix listed |
| npm basic-ftp(npm) | < 6.2.1 | 6.2.1 |
References
- https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-c475-qrg2-pj4r exploit vendor-advisory
- https://github.com/patrickjuchli/basic-ftp/commit/d0d9e07c56e519587bb50532ac6eadbb0cb0cfe9 patch
- https://github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.1
- Red Hat CVE page mitigation vendor-advisory
- RHSA-2026:86675 patch vendor-advisory
- RHSA-2026:86891 patch vendor-advisory
- Red Hat Bugzilla 2544216 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- Debian Security Tracker CVE-2026-102990 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- bugs.debian.org issue-tracking
- github.com product
- ENISA EUVD EUVD-2026-90360 third-party-advisory