CVE-2026-54697

published 13 Oct 2026 · updated 13 Oct 2026

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

6.7MediumCVSS 6.7EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
connectbot<0.3.1

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-54697 severity on Zeptric[![CVE-2026-54697](https://zeptric.io/badge/cve/CVE-2026-54697.svg)](https://zeptric.io/cve/CVE-2026-54697)