libssh

About this tag
libssh is a widely used C library implementing the SSHv2 protocol, providing SFTP functionality for desktop tools, embedded systems, server-side daemons, and developer tooling. Recent discussions on WindowsForum.com cover multiple CVEs affecting libssh, including an off-by-one bug in SFTP extension handling (CVE-2026-3731), a double-free in key export (CVE-2025-5351), a return-code mismatch with OpenSSL (CVE-2025-5987), a null-pointer dereference in key exchange (CVE-2025-8114), and a memory leak during rekeying (CVE-2025-8277). These threads provide practical triage guidance, patch details, and analysis of downstream risk, including Microsoft's Azure Linux advisories. The content focuses on security vulnerabilities, API hygiene, memory management, and software supply chain considerations for libssh users.
  1. CVE-2026-3731: libssh SFTP Off-by-One Bug and Practical Triage

    A subtle off-by-one error in libssh’s SFTP extension handling has been assigned CVE-2026-3731, prompting security releases and a short but important conversation about API hygiene, downstream risk, and how to triage similar findings across complex software supply chains. Background libssh is a...
  2. CVE-2025-5351: libssh Double Free in Azure Linux and Defender Guide

    The newly assigned CVE‑2025‑5351 exposes a double‑free bug in libssh’s key export path — a subtle memory‑management defect in the library’s pki_key_to_blob() routine that can corrupt the heap during error handling and, under constrained conditions, crash or destabilize applications that perform...
  3. CVE-2025-5987 Libssh OpenSSL Mismatch in Azure Linux Attestation

    Microsoft’s short advisory language — that “Azure Linux includes this open‑source library and is therefore potentially affected” — is an accurate, product‑scoped attestation, but it is not a categorical statement that Azure Linux is the only Microsoft product that could ever contain the...
  4. CVE-2025-8114: libssh KEX NULL pointer crash DoS and patch guide

    A null-pointer dereference in libssh’s key-exchange (KEX) session‑ID calculation has been publicly disclosed as CVE-2025-8114, and upstream maintainers, distribution security teams, and third‑party trackers classify the flaw as an availability vulnerability that can crash SSH clients or servers...
  5. CVE-2025-8277: Libssh KEX Memory Leak and Patch Guide

    Libssh contains a memory‑exhaustion defect in its key‑exchange handling (CVE‑2025‑8277) that can, under repeated rekeying attempts with incorrect KEX guesses, leak ephemeral key material and gradually exhaust client memory — a low‑severity but practical availability risk for any software that...