# JLSEC-2025-97: A flaw was found in libssh versions built with OpenSSL versions older than 3.0, specifically in the...

- Severity: High 8.8 (CVSS:3.1, scored by Julia Security Advisories) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2025-10-19T18:40:48.457Z
- Modified: 2026-07-25T18:23:53.899Z
- Related: CVE-2025-5372

## 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.

(As written by Julia Security Advisories.)

## Affected

- libssh_jll (Julia): before 0.11.3+0

## References

- <https://access.redhat.com/errata/RHSA-2025:21977> (web)
- <https://access.redhat.com/errata/RHSA-2025:23024> (web)
- <https://access.redhat.com/errata/RHSA-2026:20610> (web)
- <https://access.redhat.com/errata/RHSA-2026:24349> (web)
- <https://access.redhat.com/errata/RHSA-2026:25911> (web)
- <https://access.redhat.com/security/cve/CVE-2025-5372> (web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=2369388> (web)

## Sources

- Julia Security Advisories: [JLSEC-2025-97](https://osv.dev/vulnerability/JLSEC-2025-97), CC-BY-4.0, modified 2026-07-25

---

Page: https://cve.day/JLSEC-2025-97 · Whole record: https://cve.day/JLSEC-2025-97.json · Rebuilt by cve.day 2026-11-25T22:56:25.828Z
