RHSA-2025:23484MediumCVSS 8.1
Red Hat Security Advisory: libssh security update
🔗 CVE IDs covered (1)
📋 Description
CVE-2025-5987 — libssh: Invalid return code for chacha20 poly1305 with OpenSSL backend
🎯 Affected products28
- Red Hat Enterprise Linux AppStream (v. 10)
- Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-0:0.11.1-5.el10_1.src as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-config-0:0.11.1-5.el10_1.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debuginfo-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-debugsource-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10)
- libssh-devel-0:0.11.1-5.el10_1.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-devel-0:0.11.1-5.el10_1.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-devel-0:0.11.1-5.el10_1.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10)
- libssh-devel-0:0.11.1-5.el10_1.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10)
✅ Remediation
For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Workaround: A workaround for this issue is to disable the [email protected] cipher in applications using libssh when libssh is compiled with the OpenSSL backend, so the vulnerable ChaCha20-Poly1305 initialization path is not used. Alternatively, upgrade to a version of libssh containing the fix; upstream has released libssh 0.11.2 to correct this defect, and administrators are advised to upgrade or apply the upstream patch as soon as possible.