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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.37%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-30T19:44:47.303Z
- Modified: 2026-10-01T15:00:04.517Z
- Also known as: GHSA-c475-qrg2-pj4r
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- patrickjuchli basic-ftp: < 6.2.1
- basic-ftp (npm): before 6.2.1

## Every score

- GitHub_M: CVSS:4.0 8.2 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`

## References

- <https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-c475-qrg2-pj4r> (exploit, web)
- <https://github.com/patrickjuchli/basic-ftp/commit/d0d9e07c56e519587bb50532ac6eadbb0cb0cfe9> (web)
- <https://github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.1> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-102990> (advisory)
- <https://github.com/patrickjuchli/basic-ftp> (package)

## Sources

- CVE List: [CVE-2026-102990](https://www.cve.org/CVERecord?id=CVE-2026-102990), CVE Terms of Use, modified 2026-09-30
- GitHub Advisory Database: [GHSA-c475-qrg2-pj4r](https://github.com/advisories/GHSA-c475-qrg2-pj4r), CC-BY-4.0, modified 2026-10-01
- NVD: [CVE-2026-102990](https://nvd.nist.gov/vuln/detail/CVE-2026-102990), Public domain, modified 2026-09-30

---

Page: https://cve.day/CVE-2026-102990 · Whole record: https://cve.day/CVE-2026-102990.json · Rebuilt by cve.day 2026-11-25T22:59:41.746Z
