CVE-2025-70034: ssh2 · ReDoS
Affects ssh2Source CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 12:55 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 28% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 9 Mar 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
npmmscdex/ssh2pkg:npm/mscdex/ssh2Other threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
- Monitor official channels and vendor advisories for patches or updates addressing CVE-2025-70034 and apply them promptly once available.
- Restrict SSH access using network-level controls such as firewalls, VPNs, or IP whitelisting to limit exposure to trusted sources only.
- Implement rate limiting or connection throttling on SSH services to mitigate the impact of resource exhaustion attacks.
- Deploy intrusion detection/prevention systems (IDS/IPS) capable of detecting anomalous SSH traffic patterns indicative of exploitation attempts.
- Consider temporarily disabling or replacing the vulnerable mscdex ssh2 library with alternative SSH implementations if feasible.
- Conduct regular security assessments and penetration tests focusing on SSH services to identify and remediate potential attack vectors.
- Maintain robust logging and monitoring to quickly detect and respond to unusual SSH connection failures or performance degradation.
- Educate system administrators about this vulnerability and the importance of minimizing SSH exposure and promptly applying security updates.
Description
An issue pertaining to CWE-1333: Inefficient Regular Expression Complexity (4.19) was discovered in mscdex ssh2 v1.17.0.