All vulnerabilities
CVE-2026-54700GHSA-ch3q-cw5r-f4hg

cbssh: ConnectBot SSH: Unbounded SSH field lengths can cause excessive memory allocation

connectbot cbsshMavenLibraries & packages
CVSS
6.9Medium
ExploitationNo known exploitationNot in CISA KEV, which does not prove it is unexploitedCISA KEV
Exploit odds (EPSS)0.37%Chance of exploitation activity in the next 30 days, higher than 29% of CVEs. Scored 23 Oct 2026FIRST EPSS
Fixed inNone listedNo source names a fixed version. Check the vendor advisory below
Published13 Oct 2026Updated 16 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, the SSH protocol parser trusts attacker-controlled inner byte lengths and element counts without verifying that they fit in the containing packet. A malicious or compromised SSH server can return a small malformed packet whose oversized declarations cause the Kaitai Struct Java runtime to attempt excessive allocation or repeated parsing before detecting truncated input. The general transport path requires a client connection but no authentication or optional feature; malformed SSH-agent messages additionally require SSH agent forwarding. The issue can raise an uncaught OutOfMemoryError and terminate the application process, with no demonstrated confidentiality or integrity impact. 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 4