Incorrect Regular Expression Affecting node-sshpk package, versions *


Severity

Recommended
medium

Based on Ubuntu security rating.

Threat Intelligence

EPSS
1.71% (77th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UBUNTU1804-NODESSHPK-1179555
  • published26 Feb 2026
  • disclosed7 Jun 2018

Introduced: 7 Jun 2018

CVE-2018-3737  (opens in a new tab)
CWE-185  (opens in a new tab)

How to fix?

There is no fixed version for Ubuntu:18.04 node-sshpk.

NVD Description

Note: Versions mentioned in the description apply only to the upstream node-sshpk package and not the node-sshpk package as distributed by Ubuntu. See How to fix? for Ubuntu:18.04 relevant fixed versions and status.

sshpk is vulnerable to ReDoS when parsing crafted invalid public keys.

CVSS Base Scores

version 3.1