Skip to content
OpenAdvisories
Medium USN-7696-1 3 CVEs

libssh vulnerabilities

Published Aug 14, 2025 · Updated Oct 27, 2026

Summary

Ronald Crane discovered that libssh incorrectly handled certain base64
conversions. An attacker could use this issue to cause libssh to crash,
resulting in a denial of service, or possibly execute arbitrary code.
(CVE-2025-4877)

Ronald Crane discovered that libssh incorrectly handled the
privatekey_from_file() function. An attacker could use this issue to cause
libssh to crash, resulting in a denial of service, or possibly execute
arbitrary code. (CVE-2025-4878)

Ronald Crane discovered that libssh incorrectly handled certain memory
operations in the sftp server. An attacker could possibly use this issue
to cause libssh to crash, resulting in a denial of service.
(CVE-2025-5318)

Fixed packages 3

ReleasePackageFixed in
Ubuntu · Pro 16.04 LTS Pro:16.04:LTS libssh 0.6.3-4.3ubuntu0.6+esm2
Ubuntu · Pro 18.04 LTS Pro:18.04:LTS libssh 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm4
Ubuntu · Pro 20.04 LTS Pro:20.04:LTS libssh 0.9.3-2ubuntu2.5+esm1

Vulnerabilities 3

References

  • report
    https://ubuntu.com/security/CVE-2025-4877
  • report
    https://ubuntu.com/security/CVE-2025-4878
  • report
    https://ubuntu.com/security/CVE-2025-5318