{"id":"JLSEC-2025-97","summary":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the...","details":"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.","modified":"2026-07-25T18:23:53.899836028Z","published":"2025-10-19T18:40:48.457Z","upstream":["CVE-2025-5372"],"database_specific":{"sources":[{"database_specific":{"status":"Modified"},"id":"CVE-2025-5372","imported":"2026-07-17T21:08:01.350Z","modified":"2026-06-17T09:47:47.260Z","published":"2025-07-04T06:15:24.930Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-5372","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-5372"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:21977"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2025:23024"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:20610"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:24349"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:25911"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2025-5372"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369388"}],"affected":[{"package":{"name":"libssh_jll","ecosystem":"Julia","purl":"pkg:julia/libssh_jll?uuid=a8d4f100-aa25-5708-be18-96e0805c2c9d"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"0.11.3+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-97.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"}]}