Every CVE Search/ Get API key

CVE-2018-3737

Regular Expression Denial of Service in sshpk

7.5 HighFix available

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

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
High

Exploit likelihood

1.71%Up 1.3 points since Apr 14, 2021
90%50%10%1%

What each source reports

NVD Score used 7.5

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

Record
CVE-2018-3737
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-770, CWE-185
Updated
2026-11-02
CVE List No score

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

Record
CVE-2018-3737
Weakness
CWE-770
Updated
2026-11-02
EUVDEUVD-2018-0353 No score

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

Record
EUVD-2018-0353
Updated
2026-11-03
GitHub AdvisoriesGHSA-2m39-62fm-q8r3 7.5

Regular Expression Denial of Service in sshpk

Versions of sshpk before 1.13.2 or 1.14.1 are vulnerable to regular expression denial of service when parsing crafted invalid public keys.

Recommendation

Update to version 1.13.2, 1.14.1 or later.

Record
GHSA-2m39-62fm-q8r3
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-185, CWE-770
Updated
2026-11-02
OSV 7.5

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

Record
CVE-2018-3737
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVDEBIAN-CVE-2018-3737 7.5

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

Record
DEBIAN-CVE-2018-3737
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVGHSA-2m39-62fm-q8r3 7.5

Regular Expression Denial of Service in sshpk

Versions of sshpk before 1.13.2 or 1.14.1 are vulnerable to regular expression denial of service when parsing crafted invalid public keys.

Recommendation

Update to version 1.13.2, 1.14.1 or later.

Record
GHSA-2m39-62fm-q8r3
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness
CWE-185, CWE-770
Updated
2026-11-02
OSVRHSA-2020:2625 7.7

Red Hat Security Advisory: rh-nodejs8-nodejs security update

Record
RHSA-2020:2625
CVSS 3.0
7.7 HighCVSS:3.0/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-02
OSVUBUNTU-CVE-2018-3737 7.5

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

Record
UBUNTU-CVE-2018-3737
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
sshpk
npm
before 1.13.2
1.13.2
node-sshpk
Debian:12
before 1.13.1+dfsg-2
1.13.1+dfsg-2
node-sshpk
Debian:13
before 1.13.1+dfsg-2
1.13.1+dfsg-2
node-sshpk
Debian:14
before 1.13.1+dfsg-2
1.13.1+dfsg-2
rh-nodejs8-nodejs
Red Hat:rhel_software_collections:3::el7
From an advisory covering 7 CVEs
before 0:8.17.0-2.el7
0:8.17.0-2.el7
rh-nodejs8-nodejs-debuginfo
Red Hat:rhel_software_collections:3::el7
From an advisory covering 7 CVEs
before 0:8.17.0-2.el7
0:8.17.0-2.el7
rh-nodejs8-nodejs-devel
Red Hat:rhel_software_collections:3::el7
From an advisory covering 7 CVEs
before 0:8.17.0-2.el7
0:8.17.0-2.el7
rh-nodejs8-nodejs-docs
Red Hat:rhel_software_collections:3::el7
From an advisory covering 7 CVEs
before 0:8.17.0-2.el7
0:8.17.0-2.el7
rh-nodejs8-npm
Red Hat:rhel_software_collections:3::el7
From an advisory covering 7 CVEs
before 0:6.13.4-8.17.0.2.el7
0:6.13.4-8.17.0.2.el7
node-sshpk
Ubuntu:18.04:LTS
All versions, plus listed versions
1.13.0+dfsg-11.13.1+dfsg-1
None known

History

History
RecordedChangedSources
affected, facts
aliasesEUVD
first indexedCVE List, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2018-3737 is a high vulnerability (CVSS 7.5) in Joyent Sshpk, published June 7, 2018. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 1.71%, the 77th percentile. Fixed in sshpk 1.13.2.

References

Show 36 moreShow less
MoveEnter Open