Skip to content
OpenAdvisories
Medium ALSA-2026:18683 10 CVEs

Moderate: libssh security update

Published May 19, 2026 · Updated Oct 29, 2026

Summary

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

* libssh: Double Free Vulnerability in libssh Key Export Functions (CVE-2025-5351)
* libssh: Use of uninitialized variable in privatekey_from_file() (CVE-2025-4878)
* libssh: Write beyond bounds in binary to base64 conversion functions (CVE-2025-4877)
* libssh: NULL Pointer Dereference in libssh KEX Session ID Calculation (CVE-2025-8114)
* libssh: Memory Exhaustion via Repeated Key Exchange in libssh (CVE-2025-8277)
* libssh: Buffer underflow in ssh_get_hexa() on invalid input (CVE-2026-0966)
* libssh: Improper sanitation of paths received from SCP servers (CVE-2026-0964)
* libssh: libssh: Denial of Service via improper configuration file handling (CVE-2026-0965)
* libssh: libssh: Denial of Service via inefficient regular expression processing (CVE-2026-0967)
* libssh: libssh: Denial of Service due to malformed SFTP message (CVE-2026-0968)

For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.

Additional Changes:

For detailed information on changes in this release, see the AlmaLinuxRelease Notes linked from the References section.

Fixed packages 3

ReleasePackageFixed in
AlmaLinux · 9 libssh 0.10.4-18.el9
AlmaLinux · 9 libssh-config 0.10.4-18.el9
AlmaLinux · 9 libssh-devel 0.10.4-18.el9

Vulnerabilities 10

References

  • report
    https://access.redhat.com/security/cve/CVE-2025-4877
  • report
    https://access.redhat.com/security/cve/CVE-2025-4878
  • report
    https://access.redhat.com/security/cve/CVE-2025-5351
  • report
    https://access.redhat.com/security/cve/CVE-2025-8114
  • report
    https://access.redhat.com/security/cve/CVE-2025-8277
  • report
    https://access.redhat.com/security/cve/CVE-2026-0964
  • report
    https://access.redhat.com/security/cve/CVE-2026-0965
  • report
    https://access.redhat.com/security/cve/CVE-2026-0966
  • report
    https://access.redhat.com/security/cve/CVE-2026-0967
  • report
    https://access.redhat.com/security/cve/CVE-2026-0968
  • report
    https://bugzilla.redhat.com/2369367
  • report
    https://bugzilla.redhat.com/2376184
  • report
    https://bugzilla.redhat.com/2376193
  • report
    https://bugzilla.redhat.com/2383220
  • report
    https://bugzilla.redhat.com/2383888
  • report
    https://bugzilla.redhat.com/2433121
  • report
    https://bugzilla.redhat.com/2436979
  • report
    https://bugzilla.redhat.com/2436980
  • report
    https://bugzilla.redhat.com/2436981
  • report
    https://bugzilla.redhat.com/2436982
  • advisory
    https://errata.almalinux.org/9/ALSA-2026-18683.html