Skip to content
OpenAdvisories
Medium ALAS2023-2025-1264 2 CVEs

Moderate: libssh security update (Amazon Linux 2023)

Published Nov 10, 2025 · Updated Nov 10, 2025

Summary

Package updates are available for Amazon Linux 2023 that fix the following vulnerabilities: CVE-2025-8277: A flaw was found in libssh's handling of key exchange (KEX) processes when a client repeatedly sends incorrect KEX guesses. The library fails to free memory during these rekey operations, which can gradually exhaust system memory. This issue can lead to crashes on the client side, particularly when using libgcrypt, which impacts application stability and availability. CVE-2025-8114: NULL Pointer Dereference vulnerability in the session ID calculation logic of the libssh library. The flaw arises from improper handling of allocation errors during cryptographic operations in the key exchange (KEX) phase. If a memory allocation fails, the resulting NULL pointer may be dereferenced, leading to a crash in both SSH clients and servers. This vulnerability can be exploited by a local attacker with limited privileges and no user interaction, potentially disrupting services that rely on libssh for secure communication.The issue affects libssh versions up to and including 0.11.2.

Fixed packages 5

ReleasePackageFixed in
Amazon Linux · 2023 libssh 0:0.10.6-1.amzn2023.0.3
Amazon Linux · 2023 libssh-config 0:0.10.6-1.amzn2023.0.3
Amazon Linux · 2023 libssh-debuginfo 0:0.10.6-1.amzn2023.0.3
Amazon Linux · 2023 libssh-debugsource 0:0.10.6-1.amzn2023.0.3
Amazon Linux · 2023 libssh-devel 0:0.10.6-1.amzn2023.0.3

Vulnerabilities 2

References

  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-8114.html
  • web
    https://alas.aws.amazon.com/cve/html/CVE-2025-8277.html