CVE-2026-54700
MEDIUM 6.9CVSS 4.0ConnectBot SSH Client Library: Unbounded SSH field lengths can cause excessive memory allocation
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.
- Published
- 13 Oct 2026
- Last modified
- 16 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-20CWE-789
- Also known as
- GHSA-ch3q-cw5r-f4hg
- Sources
- NVDJSONOSV GHSA-ch3q-cw5r-f4hgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 6.9 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.connectbot.sshlib:sshlib | <= 0.3.0 |
References
- https://github.com/connectbot/cbssh/commit/a08421fbe7cf8b72fa60fb8b2f98fb465dc43fd9
- https://github.com/connectbot/cbssh/pull/194
- https://github.com/connectbot/cbssh/releases/tag/v0.3.1 · WEB
- https://github.com/connectbot/cbssh/security/advisories/GHSA-ch3q-cw5r-f4hg · WEB
- https://github.com/connectbot/cbssh · PACKAGE
History
- 25 Nov 2026 21:22 UTC · NVD: first stored (published 13 Oct 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2026)