CVE-2025-5987

Libssh: invalid return code for chacha20 poly1305 with openssl backend

HIGH 8.1

En bref

Source
NVD
EPSS
EPSS 1.73 % · centile 78 ()
État
PUBLISHED
Publiée
Mise à jour
Attribuée par
redhat
Statut NVD
Modified

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.

Faiblesses (CWE)

  • CWE-393 — Return of Wrong Status Code

Références

Scores

VersionScoreVecteurÉvalué par
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · secalert@redhat.com (Secondary)
CVSS 3.1HIGH 8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD · nvd@nist.gov (Secondary)

Références européennes

Avis du CERT-FR

Configurations affectées (CPE NVD)

Produits affectés

ProduitVersions
libsshaffected 0.10.0 < 0.11.2
Red Hat · Red Hat Enterprise Linux 10unaffected 0:0.11.1-5.el10_1 < *
Red Hat · Red Hat Enterprise Linux 10.0 Extended Update Supportunaffected 0:0.11.1-4.el10_0.1 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:0.10.4-17.el9_7 < *
Red Hat · Red Hat Enterprise Linux 9unaffected 0:0.10.4-17.el9_7 < *
Red Hat · Red Hat Enterprise Linux 9.2 Update Services for SAP Solutionsunaffected 0:0.10.4-9.el9_2.2 < *
Red Hat · Red Hat Enterprise Linux 9.4 Extended Update Supportunaffected 0:0.10.4-13.el9_4.2 < *
Red Hat · Red Hat Enterprise Linux 9.6 Extended Update Supportunaffected 0:0.10.4-15.el9_6.1 < *
Red Hat · Red Hat OpenShift Container Platform 4.13unaffected 413.92.202602240113-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.14unaffected 414.92.202601191325-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.15unaffected 415.92.202601271320-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.16unaffected 416.94.202601160124-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.17unaffected 417.94.202601120213-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.18unaffected 418.94.202601202224-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.19unaffected 4.19.9.6.202601260820-0 < *
Red Hat · Red Hat OpenShift Container Platform 4.20unaffected 4.20.9.6.202601211057-0 < *
Red Hat · Red Hat Enterprise Linux 6
Red Hat · Red Hat Enterprise Linux 7
Red Hat · Red Hat Enterprise Linux 8
Red Hat · Red Hat OpenShift Container Platform 4

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD