Memory Allocation with Excessive Size Value Affecting org.connectbot.sshlib:sshlib package, versions [,0.3.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

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-JAVA-ORGCONNECTBOTSSHLIB-17732604
  • published30 Jun 2026
  • disclosed12 Jun 2026
  • creditUnknown

Introduced: 12 Jun 2026

CVE NOT AVAILABLE CWE-190  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

Upgrade org.connectbot.sshlib:sshlib to version 0.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Memory Allocation with Excessive Size Value in the DER private-key parsing process. An attacker can cause excessive memory allocation and application termination by supplying a specially crafted private-key file with malformed length values.

CVSS Base Scores

version 4.0
version 3.1