Inefficient regular expression complexity in basic-ftp - #VU146762
Published: September 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the Unix directory-listing parser in Client.list() when parsing a server-supplied directory listing. A remote attacker can return a specially crafted directory listing line to cause a denial of service.
A normal line placed last can cause the Unix parser to be selected, while an earlier crafted line triggers quadratic-time backtracking and can freeze the Node.js event loop.