/
DirectorySecurity AdvisoriesPricing
Sign in
Security Advisories

CVE-2025-5987

Published

Last updated

NVD

https://nvd.nist.gov/vuln/detail/CVE-2025-5987

Severity

8.1

High

CVSS CVSS_V3

Description

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.

References

  • https://images.chainguard.dev/security/CGA-v8wm-4j3f-p7vf

Affected packages


Safe Source for Open Sourceâ„¢
Contact us
© 2025 Chainguard. All Rights Reserved.
Private PolicyTerms of Use

Product

Chainguard ContainersChainguard LibrariesChainguard VMsIntegrationsPricing