{"id":"CVE-2026-102990","published":"2026-09-30T19:44:47Z","modified":"2026-09-30T20:05:49Z","title":"basic-ftp: Quadratic-time CPU denial of service in Client.list() Unix directory-listing parser (RE_LINE backtracking)","vendor":"patrickjuchli","product":"basic-ftp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00507,"percentile":0.36423,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/patrickjuchli/basic-ftp/security/advisories/GHSA-c475-qrg2-pj4r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/patrickjuchli/basic-ftp/commit/d0d9e07c56e519587bb50532ac6eadbb0cb0cfe9","tags":["x_refsource_MISC"]},{"url":"https://github.com/patrickjuchli/basic-ftp/releases/tag/v6.2.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.28},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"patrickjuchli","affectedVersions":[{"vendor":"patrickjuchli","product":"basic-ftp","versions":["< 6.2.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-30T20:05:43.038485Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"basic-ftp","vulnerableRanges":["<6.2.1"],"patched":["6.2.1"],"from":["GHSA-c475-qrg2-pj4r"],"provenance":"source"}],"summary":{"text":"The basic-ftp Node.js FTP client, prior to version 6.2.1, has a quadratic-time regular expression (RE_LINE in its Unix directory-listing parser, used by Client.list()) that backtracks heavily on long crafted lines. An attacker who controls or compromises an FTP server that a client connects to can cause a directory listing to block the Node.js event loop and freeze the process, requiring only that the victim client list a directory from that server, with no authentication or user interaction needed.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:48:59Z"},"euvd":{"id":"EUVD-2026-90360","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-39983","published":"2026-04-09","fixed":"5.2.1","kev":false},{"cve":"CVE-2026-41324","published":"2026-04-24","fixed":"5.3.0","kev":false},{"cve":"CVE-2026-44240","published":"2026-05-12","fixed":"5.3.1","kev":false},{"cve":"CVE-2026-102990","published":"2026-09-30","fixed":"6.2.1","kev":false},{"cve":"CVE-2026-126346","published":"2026-11-12","fixed":"6.2.3","kev":false,"link":{"from":"CVE-2026-102990","to":"CVE-2026-126346","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:basic-ftp","fromFixed":"6.2.1","toFixed":"6.2.3","daysApart":43}]}},{"cve":"CVE-2026-126345","published":"2026-11-12","fixed":"6.2.4","kev":false}],"package":"npm:basic-ftp"}}