Live threats

All CVEs / connectbot

CVE-2026-54697connectbot cbssh

Medium 6.7

Priority
40
CVSS 4.0
6.7
EPSS
—
Auth required
Yes
Published
Oct 13, 2026
Updated
Oct 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-789
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:L/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

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for cbssh.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.connectbot.sshlib:sshlib ≤ 0.3.0 no fixed version —

Per OSV / GitHub Advisories (GHSA-vc8p-8pxg-rfwg). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.