CVE-2026-54697
Last modified
CVE-2026-54697 is a medium-severity vulnerability rated 6.7/10 on the CVSS scale. 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. EPSS estimates a 0.13% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| connectbot | cbssh | < 0.3.1 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54697?
How severe is CVE-2026-54697?
How do I fix CVE-2026-54697?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54691datamodel-code-generator generates Python data models from s…8.2
- CVE-2026-54692SAIL is a cross-platform library for loading and saving imag…7.8
- CVE-2026-54693ZITADEL is an open source identity management platform. From…8.2
- CVE-2026-54694SkillTree is a micro-learning gamification platform. Prior t…9.6
- CVE-2026-54695Pipecat is an open-source Python framework for building real…6.5
- CVE-2026-54696Ruby JSON is a JSON implementation for Ruby. Versions 2.9.0 …3.7
- CVE-2026-54698Hasura is an open-source product that provides users GraphQL…5.9
- CVE-2026-54699Warp is an agentic development environment. From 0.2024.03.1…7.7
- CVE-2026-5470A security vulnerability has been detected in mixelpixx Goog…6.3
- CVE-2026-54700ConnectBot SSH Client Library is written in Kotlin with Kait…6.9
- CVE-2026-54701Markdown Preview Enhanced is a Markdown preview extension fo…6.9
- CVE-2026-54702Markdown Preview Enhanced is a Markdown preview extension fo…7.3
Are you affected by CVE-2026-54697?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
