{"vuln_id":"CVE-2025-5372","aliases":[],"description":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.","published_at":"2025-07-04T06:15:24.930000Z","modified_at":"2026-11-25T09:48:11.595219Z","first_seen_at":"2026-11-24T12:35:26.260919Z","severity":"high","severity_source":"nvd","cvss_score":8.8,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-682"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00513,"epss_percentile":0.44351,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-5372"},"matched_alias":null,"items":[{"id":22378,"source":{"id":"osv","name":"OSV.dev"},"title":"DEBIAN-CVE-2025-5372: A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to i…","summary":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.\n\nAffected: Debian:12:libssh, Debian:13:libssh, Debian:14:libssh\n\nFixed in: 0.10.6-0+deb12u2, 0.11.2-1\n\nReferences:\nhttps://security-tracker.debian.org/tracker/CVE-2025-5372","url":"https://osv.dev/vulnerability/DEBIAN-CVE-2025-5372","published_at":"2025-07-04T06:15:24.930000Z","updated_at":"2026-11-25T09:48:11.595219Z","fetched_at":"2026-11-25T15:08:19.524078Z","severity":"high","cvss_score":8.8,"epss":0.00513,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"openssl","product":"12:libssh","vuln_id":"CVE-2025-5372","vuln_ids":["CVE-2025-5372","DEBIAN-CVE-2025-5372"],"tags":["osv","debian","fix-available"],"cluster_id":16048,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/22378","html":"https://vulnwatch.ve1ve2.com/item/22378"}},{"id":18129,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2025-5372: A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to i…","summary":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the ssh_kdf() function responsible for key derivation. Due to inconsistent interpretation of return values where OpenSSL uses 0 to indicate failure and libssh uses 0 for success—the function may mistakenly return a success status even when key derivation fails. This results in uninitialized cryptographic key buffers being used in subsequent communication, potentially compromising SSH sessions' confidentiality, integrity, and availability.\n\nReferences:\nhttps://access.redhat.com/errata/RHSA-2025:21977\nhttps://access.redhat.com/errata/RHSA-2025:23024\nhttps://access.redhat.com/errata/RHSA-2026:20610\nhttps://access.redhat.com/errata/RHSA-2026:24349\nhttps://access.redhat.com/errata/RHSA-2026:25911\nhttps://access.redhat.com/security/cve/CVE-2025-5372\nhttps://bugzilla.redhat.com/show_bug.cgi?id=2369388","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5372","published_at":"2025-07-04T06:15:24.930000Z","updated_at":"2026-11-24T11:17:05.413000Z","fetched_at":"2026-11-24T12:35:26.166270Z","severity":"high","cvss_score":8.8,"epss":0.00513,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"openssl","product":null,"vuln_id":"CVE-2025-5372","vuln_ids":["CVE-2025-5372","RHSA-2025:21977","RHSA-2025:23024","RHSA-2026:20610","RHSA-2026:24349","RHSA-2026:25911"],"tags":["CWE-682"],"cluster_id":16048,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/18129","html":"https://vulnwatch.ve1ve2.com/item/18129"}}]}