JLSEC-2025-97

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2025/JLSEC-2025-97.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-97.json
JSON Data
https://api.test.osv.dev/v1/vulns/JLSEC-2025-97
Upstream
Published
2025-10-19T18:40:48.457Z
Modified
2025-11-25T22:16:25.600551Z
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.

Database specific
{
    "license": "CC-BY-4.0",
    "sources": [
        {
            "modified": "2025-11-24T21:16:03.960Z",
            "imported": "2025-11-25T21:57:29.294Z",
            "id": "CVE-2025-5372",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-5372",
            "published": "2025-07-04T06:15:24.930Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5372"
        }
    ]
}
References

Affected packages

Julia / libssh_jll

Package

Name
libssh_jll
Purl
pkg:julia/libssh_jll?uuid=a8d4f100-aa25-5708-be18-96e0805c2c9d

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.11.3+0