You are viewing this page in an unauthorized frame window.
This is a potential security issue, you are being redirected to
https://nvd.nist.gov
An official website of the United States government
Official websites use .gov
A .gov website belongs to an official government organization in the United States.
Secure .gov websites use HTTPS
A lock () or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.
This CVE record has been updated after NVD enrichment efforts were completed. Enrichment data supplied by the NVD may require amendment due to these changes.
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.
Metrics
NVD enrichment efforts reference publicly available information to associate
vector strings. CVSS information contributed by other sources is also
displayed.
By selecting these links, you will be leaving NIST webspace.
We have provided these links to other web sites because they
may have information that would be of interest to you. No
inferences should be drawn on account of other sites being
referenced, or not, from this page. There may be other web
sites that are more appropriate for your purpose. NIST does
not necessarily endorse the views expressed, or concur with
the facts presented on these sites. Further, NIST does not
endorse any commercial products that may be mentioned on
these sites. Please address comments about this page to [email protected].
CVE Modified by Red Hat, Inc.1/30/2026 10:16:08 AM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0996
CVE Modified by Red Hat, Inc.1/30/2026 9:16:06 AM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0985
CVE Modified by Red Hat, Inc.1/27/2026 1:15:53 PM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0978
CVE Modified by Red Hat, Inc.1/22/2026 3:16:08 PM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0702
CVE Modified by Red Hat, Inc.1/13/2026 5:16:05 PM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0427
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0428
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0430
Added
Reference
https://access.redhat.com/errata/RHSA-2026:0431
CVE Modified by Red Hat, Inc.1/07/2026 11:15:55 PM
Action
Type
Old Value
New Value
Added
CVSS V3.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Removed
CVSS V3.1
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L
CVE Modified by Red Hat, Inc.12/18/2025 3:16:03 AM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2025:23483
CVE Modified by Red Hat, Inc.12/17/2025 2:16:09 PM
Action
Type
Old Value
New Value
Added
Reference
https://access.redhat.com/errata/RHSA-2025:23484
Modified Analysis by NIST11/28/2025 2:09:30 PM
Action
Type
Old Value
New Value
Changed
CPE Configuration
OR
*cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:*
OR
*cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* versions from (including) 0.10.0 up to (excluding) 0.11.2
Initial Analysis by NIST8/22/2025 9:11:29 AM
Action
Type
Old Value
New Value
Added
CVSS V3.1
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Added
CPE Configuration
OR
*cpe:2.3:a:libssh:libssh:-:*:*:*:*:*:*:*
Added
Reference Type
Red Hat, Inc.: https://access.redhat.com/security/cve/CVE-2025-5987 Types: Third Party Advisory
Added
Reference Type
Red Hat, Inc.: https://bugzilla.redhat.com/show_bug.cgi?id=2376219 Types: Issue Tracking, Third Party Advisory
New CVE Received from Red Hat, Inc.7/07/2025 11:15:28 AM
Action
Type
Old Value
New Value
Added
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.