Inefficient regular expression complexity in basic-ftp - #VU164367

 

Inefficient regular expression complexity in basic-ftp - #VU164367

Published: November 10, 2026


Vulnerability identifier: #VU164367
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to cause a temporary denial of service by blocking a basic-ftp client's Node.js event loop.

The vulnerability exists due to quadratic-time regular-expression backtracking in MLSD listing detection and PASV response parsing when processing crafted FTP server responses. A remote attacker can operate or compromise an FTP server and return a listing line of repeated '=' characters without ';', or refuse EPSV and return a PASV '227 ' response containing a long comma-free digit sequence, to stall all work sharing the client's event loop.


Affected software

basic-ftp

Remediation

Install security update from vendor's website.

basic-ftp - update to 6.2.2

External References

Related Security Bulletins