CVE-2026-54700: ConnectBot SSH: Unbounded SSH field lengths can cause excessive memory allocation

Published Oct 13, 2026
·
Updated

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.

Affected Software

1 affected component
ConnectBot SSH Client Library<0.3.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade ConnectBot SSH Client Library to a version that resolves this vulnerability.

    Fixed in 0.3.1

Event History

Oct 13, 2026
CVE Published
via MITRE·03:53 PM
Data Sourced
via MITRE·03:53 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to the general transport-path issue?

Any client using a version prior to 0.3.1 can be exposed when it connects to a malicious or compromised SSH server. Exploitation requires a client connection, but does not require authentication or any optional feature.

2

Is SSH agent forwarding required for exploitation?

No. The general SSH transport parsing path is affected without SSH agent forwarding. Agent forwarding is required only for malformed SSH-agent messages.

3

What is the practical impact of a successful attack?

A malformed packet can cause excessive memory allocation or repeated parsing and trigger an uncaught OutOfMemoryError, terminating the application process. No confidentiality or integrity impact has been demonstrated.

4

How can this be remediated?

Update ConnectBot SSH Client Library to version 0.3.1, which fixes the issue.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203