p PatchFirst

CVE-2026-102990

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

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 8.2 · High · EPSS 0.4% · Fix available

Published
Updated

Stack: system · node

Affected products and versions

  • basic-ftp

    Versions
    • < 6.2.1: Affected

    No fix published

  • node-proxy-agents Debian:13

    Versions
    • 0~2024040606-6
    • 0~2024040606-6+deb13u1
    • 0~2025070717+~cs15.2.7-1
    • 0~2025070717+~cs15.3.7-1
    • 0~2025070717+~cs15.3.8-1
    • 0~2025070717+~cs15.3.8-2
    • 0~2025070717+~cs15.3.8-3
    • 0~2025070717+~cs16.2.9-1
    • 0~2025070717-1
    • 0~2025070717-2
    • 0~2025070717-3
    • 0~2025070717-4
    • 0~2025070717-5
    • 0~2025070717-6
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-proxy-agents Debian:14

    Versions
    • 0~2024040606-6
    • 0~2025070717+~cs15.2.7-1
    • 0~2025070717+~cs15.3.7-1
    • 0~2025070717+~cs15.3.8-1
    • 0~2025070717+~cs15.3.8-2
    • 0~2025070717+~cs15.3.8-3
    • 0~2025070717-1
    • 0~2025070717-2
    • 0~2025070717-3
    • 0~2025070717-4
    • 0~2025070717-5
    • 0~2025070717-6
    Affected ranges
    • ECOSYSTEM: < 0~2025070717+~cs16.2.9-1

    Update to 0~2025070717+~cs16.2.9-1

  • basic-ftp npm

    Affected ranges
    • SEMVER: < 6.2.1

    Update to 6.2.1

  • node-proxy-agents Ubuntu:24.04:LTS

    Versions
    • 0~2023071921-5
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-proxy-agents Ubuntu:26.10

    Versions
    • 0~2025070717+~cs15.2.7-1build1
    • 0~2025070717+~cs15.3.8-1
    • 0~2025070717+~cs15.3.8-2
    • 0~2025070717+~cs15.3.8-3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • node-proxy-agents Ubuntu:26.04:LTS

    Versions
    • 0~2025070717-2
    • 0~2025070717-6
    • 0~2025070717+~cs15.2.7-1build1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →