Skip to content

← Actionable
Medium, CVSS 6.7

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

CVE-2026-54697GHSA-vc8p-8pxg-rfwg

What to do

Vendor response not established. Follow the primary source's mitigation guidance and check back for a fix.

This page has no inventory attached, so it cannot say whether you are affected. A vendor fix is not proof that your deployment is fixed.

Affected packages

  • Maven org.connectbot.sshlib:sshlib

    Affected
    <= 0.3.0
    Fixed in
    no fixed version recorded

Sources

Severity and exploitation
Exploitation
No confirmed exploitation recorded. Patch Next marks exploitation only from CISA KEV.
CVSS 4.0
6.7 · 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 · score source
EPSS
  • CVE-2026-54697: 0.13% estimated exploitation activity in the next 30 days; percentile 2.21 (FIRST EPSS, 2026-11-03). This is a model estimate, not proof of exploitation or customer exposure.
Source description

As published by the source; long descriptions are shortened.

Summary The DER parser used for application-supplied private keys did not safely validate encoded length values before converting them to Int values or allocating arrays. A malformed private-key file could encode a length that overflowed or wrapped around, or request an allocation much larger than the available input. This could cause parsing errors or an uncaught OutOfMemoryError, potentially terminating the application process. Details The issue was in DerReader.readLength() and primitive readers such as readInteger(). readLength() previously accepted up to 127 length octets and accumulated them into an Int: This permitted integer overflow. For example: - 0x100000001 wrapped to 1. - 0x80000000 wrapped to Int.MINVALUE. Primitive readers then allocated memory based on the resulting value without first checking it against the remaining input: A six-byte DER value declaring a 1 GiB INTEGER caused an immediate OutOfMemoryError when tested with a constrained JVM heap. Because…

Dates and revisions
Published by the source
Last modified by the source
Source last checked
  1. Revision 1 · created ·

    Published from ghsa record GHSA-vc8p-8pxg-rfwg

Agent brief

Preview the exact text before you copy it. Commands are read-only suggestions; review them before running anything.

# Patch Next advisory brief: CVE-2026-54697

Advisory: ConnectBot SSH Client Library: Excessive allocation and integer overflow in DER private-key parsing
IDs: CVE-2026-54697, GHSA-vc8p-8pxg-rfwg
Record: https://patchnext.com/advisories/cve-2026-54697 (revision 1, source checked 26 Oct 2026, 16:54 UTC)
Inventory: none attached. This brief comes from a public page and does not say whether any deployment is affected.
Severity: Medium (CVSS 6.7)
Exploitation: no confirmed exploitation recorded. Patch Next confirms exploitation only from CISA KEV.
Vendor response: Vendor response not established. A vendor fix does not mean a deployment is fixed.

## Affected components
- Maven org.connectbot.sshlib:sshlib: affected <= 0.3.0

## Suggested inspection (read-only)
- Maven org.connectbot.sshlib:sshlib: check the installed version with your package manager.

## Supported action
No complete vendor fix is recorded. Follow the primary source's mitigation guidance and check this record again before closing anything.

## Required regression checks
- Run the test suite and a production build.
- Exercise the features that depend on org.connectbot.sshlib:sshlib.
- Repeat the inspection and confirm that only fixed versions remain installed.

## Rollback considerations
- Keep the previous lockfile and deployment artifact. Rolling back reinstates the vulnerable version, so apply any documented mitigation while you fix forward.

## Unresolved questions
- Which deployments run an affected version?
- Exploitation status can change. Check again before lowering the priority.
- Mark the work resolved only after the fixed version is verified in production.

## Sources
- Verified: https://github.com/advisories/GHSA-vc8p-8pxg-rfwg (GitHub-reviewed advisory GHSA-vc8p-8pxg-rfwg lists affected ranges: Maven org.connectbot.sshlib:sshlib >=0 <=0.3.0)

Commands are suggestions: review each one before running it.

Loading voting…