JLSEC-2025-332

Source
https://github.com/JuliaLang/SecurityAdvisories.jl/blob/main/advisories/published/2025/JLSEC-2025-332.md
Import Source
https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2025/JLSEC-2025-332.json
JSON Data
https://api.test.osv.dev/v1/vulns/JLSEC-2025-332
Upstream
Published
2025-12-01T22:53:23.543Z
Modified
2025-12-02T20:48:58.815263Z
Summary
A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library
Details

A flaw was found in libssh when using the ChaCha20 cipher with the OpenSSL library. If an attacker manages to exhaust the heap space, this error is not detected and may lead to libssh using a partially initialized cipher context. This occurs because the OpenSSL error code returned aliases with the SSH_OK code, resulting in libssh not properly detecting the error returned by the OpenSSL library. This issue can lead to undefined behavior, including compromised data confidentiality and integrity or crashes.

Database specific
{
    "sources": [
        {
            "modified": "2025-11-28T19:09:30.720Z",
            "imported": "2025-11-29T03:32:16.520Z",
            "id": "CVE-2025-5987",
            "url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2025-5987",
            "published": "2025-07-07T15:15:28.180Z",
            "html_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-5987"
        }
    ],
    "license": "CC-BY-4.0"
}
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