{"answers":{"affected":"2 open source packages ship an affected version, including org.connectbot.sshlib:sshlib.","exploited":"There is no known exploitation of CVE-2026-54697 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-54697 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-54697 is a medium-severity vulnerability in connectbot cbssh, published on 13 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54697 and fix it if it is affected.\n\nWhat it is: CVE-2026-54697 is a medium-severity vulnerability in connectbot cbssh, published on 13 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-54697 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.connectbot.sshlib:sshlib (Maven): affected all versions up to 0.3.0; no fix listed\n- org.connectbot.sshlib:sshlib (Maven): affected all versions up to 0.3.0; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54697/ (Markdown: https://insights.sbomify.com/CVE-2026-54697/index.md)","id":"CVE-2026-54697","markdown":"https://insights.sbomify.com/CVE-2026-54697/index.md","name":"CVE-2026-54697","record":{"aliases":["GHSA-vc8p-8pxg-rfwg"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SSH client library","requires_auth":"none","summary":"Attackers can cause denial of service via integer overflow and excessive memory allocation when parsing malicious DER private keys in ConnectBot SSH library.","user_interaction":"required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":6.7,"severity":"medium","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"},{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"ConnectBot SSH: Excessive allocation and integer overflow in DER private-key parsing","id":"CVE-2026-54697","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"integer_overflow","year":"2026"},"n_packages":2,"n_references":3,"next":{"headline":"Hasura: Row-level authorization bypass on table computed fields","id":"CVE-2026-54698"},"packages":[{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["0.3.0"],"package":"org.connectbot.sshlib:sshlib","purl":null,"source":"GHSA-vc8p-8pxg-rfwg"},{"ecosystem":"Maven","fixed":[],"introduced":["0"],"last_affected":["0.3.0"],"package":"org.connectbot.sshlib:sshlib","purl":"pkg:maven/org.connectbot.sshlib/sshlib","source":"GHSA-vc8p-8pxg-rfwg"}],"prev":{"headline":"Ruby JSON: JSON generator heap buffer overflow when streaming to an IO","id":"CVE-2026-54696"},"products":["cbssh"],"published":"2026-10-13","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-10-13","vendors":["connectbot"]},"summary":"Attackers can cause denial of service via integer overflow and excessive memory allocation when parsing malicious DER private keys in ConnectBot SSH library.","url":"https://insights.sbomify.com/CVE-2026-54697/"}