{"id":"JLSEC-2025-97","aliases":["JLSEC-2025-97"],"related":["CVE-2025-5372"],"kind":"vulnerability","state":"published","title":"A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the...","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.","summaryFormat":"markdown","summarySource":"jlsec","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"jlsec"}],"published":"2025-10-19T18:40:48.457Z","modified":"2026-07-25T18:23:53.899Z","severity":{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"Julia Security Advisories","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":[],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.11.3+0"}],"ecosystem":"Julia","package":"libssh_jll","purl":"pkg:julia/libssh_jll?uuid=a8d4f100-aa25-5708-be18-96e0805c2c9d","source":"jlsec"}],"references":[{"url":"https://access.redhat.com/errata/RHSA-2025:21977","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2025:23024","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2026:20610","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2026:24349","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/errata/RHSA-2026:25911","tags":["web"],"sources":["jlsec"]},{"url":"https://access.redhat.com/security/cve/CVE-2025-5372","tags":["web"],"sources":["jlsec"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2369388","tags":["web"],"sources":["jlsec"]}],"credits":[],"sources":[{"source":"jlsec","name":"Julia Security Advisories","id":"JLSEC-2025-97","url":"https://osv.dev/vulnerability/JLSEC-2025-97","licence":"CC-BY-4.0","modified":"2026-07-25T18:23:53.899Z"}],"updatedAt":"2026-11-25T22:56:25.828Z"}