Skip to content
This page tracks the Alpine Linux fix status. The vulnerability itself is described on the main CVE page. View CVE-2025-5987 →
Unrated

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

ALPINE-CVE-2025-5987 First seen on SecPulse

Affected packages

PackageAffected → Fixed
Alpine:v3.22libssh
≥ 0.10.0, < 0.11.2-r0→ 0.11.2-r0
Alpine:v3.23libssh
≥ 0.10.0, < 0.11.2-r0→ 0.11.2-r0
Alpine:v3.24libssh
≥ 0.10.0, < 0.11.2-r0→ 0.11.2-r0
Original description The description as published by the source.

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.

Source: OSV.dev (Open Source Vulnerabilities) OSV

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details