All vulnerabilities
CVE-2026-54697GHSA-vc8p-8pxg-rfwg

cbssh: ConnectBot SSH: Excessive allocation and integer overflow in DER private-key parsing

connectbot cbsshMavenLibraries & packages
CVSS
6.7Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.13%Chance of exploitation activity in the next 30 days, higher than 2% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Published13 Oct 2026Updated 13 Oct 2026CVE List

What fixes it

No source in this snapshot names a fixed version. The vendor advisories under References are the place to check.

Description

ConnectBot SSH Client Library is written in Kotlin with Kaitai Struct and KStateMachine. Prior to 0.3.1, DerReader.readLength() accepts excessive long-form DER length octets, accumulates them into an Int, and primitive readers allocate arrays without checking the declared size against the remaining input. An application or user that loads an attacker-provided private-key file through SshClient.authenticatePublicKey(), SshKeys.decodePemPrivateKey(), SshSigning.sign(), or SshSigning.getPublicKey() can trigger integer wraparound, excessive allocation, or an uncaught OutOfMemoryError. SSH server host keys and agent-forwarding messages do not use this application-supplied private-key input path. No usable weakened key and no confidentiality or integrity impact have been demonstrated. This issue is fixed in version 0.3.1.

Text from CVE List

Affected versions 8

  • cbsshaffected: < 0.3.1CVE List
  • org.connectbot.sshlib:sshlib, Mavenfrom first release, through 0.3.0OSV
  • org.connectbot.sshlib:sshlib, Maven0.1.2OSV
  • org.connectbot.sshlib:sshlib, Maven0.1.3OSV
  • org.connectbot.sshlib:sshlib, Maven0.1.4OSV
  • org.connectbot.sshlib:sshlib, Maven0.2.0OSV
  • org.connectbot.sshlib:sshlib, Maven0.2.1OSV
  • org.connectbot.sshlib:sshlib, Maven0.3.0OSV

References 3