Inefficient regular expression complexity in AsyncSSH - #VU170794

 

Inefficient regular expression complexity in AsyncSSH - #VU170794

Published: November 28, 2026


Vulnerability identifier: #VU170794
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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 denial of service that can stall all connections handled by the same process.

The vulnerability exists due to unsafe regular expression construction in the PEM key parser when it uses unescaped header text to build the footer matcher. A remote attacker can supply a crafted PEM key for import to block the event loop through excessive backtracking or disrupt callers by triggering an unexpected regular expression exception.


Affected software

AsyncSSH

Remediation

Install security update from vendor's website.

AsyncSSH - update to 2.24.2

External References

Related Security Bulletins