CVE-2026-54700 Details
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.
A vulnerability in the ConnectBot SSH Client Library, affecting versions through 0.3.0, allows a malicious or compromised SSH server to cause excessive memory allocation. This issue arises because the SSH protocol parser trusts attacker-controlled byte lengths and element counts without proper validation. As a result, a small malformed packet can trigger the Kaitai Struct Java runtime to allocate large amounts of memory or repeatedly parse data, leading to an uncaught OutOfMemoryError that terminates the application. The vulnerability is present in the SSH transport protocol and can be exploited without authentication. Additionally, if SSH agent forwarding is enabled, malformed SSH-agent messages can be used to exploit the issue as well.
Users are advised to upgrade to version 0.3.1 or later, where the vulnerability has been fixed by validating length-prefixed fields and repeated-element counts against the remaining bytes in the containing stream. The updated version also includes proper error handling for malformed SSH packets and agent requests.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 13, 2026CISA-ADP
Assessed Oct 16, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/connectbot/cbssh/commit/a08421fbe7cf8b72fa60fb8b2f98fb465dc43fd9 | [email protected] | Source CodeVendor |
| https://github.com/connectbot/cbssh/pull/194 | [email protected] | Source CodeVendor |
| https://github.com/connectbot/cbssh/releases/tag/v0.3.1 | [email protected] | Release NotesVendor |
| https://github.com/connectbot/cbssh/security/advisories/GHSA-ch3q-cw5r-f4hg | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-20 | Improper Input Validation | [email protected] |
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ConnectBot SSH Client Library | <= 0.3.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 16, 2026 | CVE Modified | CISA-ADP |
| Oct 13, 2026 | New CVE Received | [email protected] |
Volerion