Skip to main content
VulnerabilityPublished Updated

CVE-2025-70034: ssh2 · ReDoS

Affects ssh2Source CVE Database V5

0

Not known to be exploited · CVSS 7.5 High.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
7.5High
How severe the flaw is on the 0–10 CVSS scale.
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:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
npmmscdex/ssh2pkg:npm/mscdex/ssh2Other threatsAffected
  • =1.17.0
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

  1. Monitor official channels and vendor advisories for patches or updates addressing CVE-2025-70034 and apply them promptly once available.
  2. Restrict SSH access using network-level controls such as firewalls, VPNs, or IP whitelisting to limit exposure to trusted sources only.
  3. Implement rate limiting or connection throttling on SSH services to mitigate the impact of resource exhaustion attacks.
  4. Deploy intrusion detection/prevention systems (IDS/IPS) capable of detecting anomalous SSH traffic patterns indicative of exploitation attempts.
  5. Consider temporarily disabling or replacing the vulnerable mscdex ssh2 library with alternative SSH implementations if feasible.
  6. Conduct regular security assessments and penetration tests focusing on SSH services to identify and remediate potential attack vectors.
  7. Maintain robust logging and monitoring to quickly detect and respond to unusual SSH connection failures or performance degradation.
  8. 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.

References

Community reviews

Loading reviews…