Libssh: invalid return code for chacha20 poly1305 with openssl backend
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 0.11.2
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- None on Exploit-DB, Metasploit or GitHub
- Exploitation: none
- Automatable: no
- Technical impact: total
Summary
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.
Timeline
- CVE published
- CISA SSVC assessment
Exploitation: none · Automatable: no · Technical impact: total
- Record last updated
Affected versions
- libssh
From 0.10.0 · fixed in 0.11.2
- libssh
Version range not reported
- libssh
Version range not reported
- libssh
Version range not reported
- libssh
Version range not reported
- libssh
Version range not reported
- libssh
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- openshift/ose-rhel-coreos-9
Version range not reported
- libssh2
Version range not reported
- libssh2
Version range not reported
- libssh
Version range not reported
- openshift/ose-rhel-coreos-8
Version range not reported
References 17
access.redhat.com
- errata/RHSA-2025:23483
- errata/RHSA-2025:23484
- errata/RHSA-2026:0427
- errata/RHSA-2026:0428
- errata/RHSA-2026:0430
- errata/RHSA-2026:0431
- errata/RHSA-2026:0702
- errata/RHSA-2026:0978
- errata/RHSA-2026:0980
- errata/RHSA-2026:0985
- errata/RHSA-2026:0996
- errata/RHSA-2026:1539
- errata/RHSA-2026:1541
- errata/RHSA-2026:3415
- security/cve/CVE-2025-5987