CVEBrief

Home / Red Hat / Red Hat Enterprise Linux 10 / CVE-2025-5987

CVE-2025-5987: is it exploited, and which versions of Red Hat Enterprise Linux 10 are affected and fixed?

CVE-2025-5987 is a return of Wrong Status Code vulnerability in Red Hat Enterprise Linux 10. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 11:38 UTC). Affected: libssh from 0.10.0 before 0.11.2 and Red Hat OpenShift Container Platform 4 all versions (the record names no range) (CVE record by redhat). Fixed in 0.11.2, 0:0.11.1-5.el10_1, 0:0.11.1-4.el10_0.1, 0:0.10.4-17.el9_7 and 2 more (CVE record by redhat). Severity: High (8.1, CVSS 3.1, from redhat).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 11:38 UTC, CVE record November 28, 2026, 17:54 UTC and NVD November 24, 2026, 00:08 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 11:38 UTC
Affected
libssh from 0.10.0 before 0.11.2 and Red Hat OpenShift Container Platform 4 all versions (the record names no range)
CVE record by redhat
Fixed in
0.11.2, 0:0.11.1-5.el10_1, 0:0.11.1-4.el10_0.1, 0:0.10.4-17.el9_7 and 2 more
CVE record by redhat
Severity
High 8.1
CVSS 3.1 from redhat
Exploit odds (EPSS)
1.73% in 30 days
higher than 78% of CVEs; FIRST, December 2, 2026

What is CVE-2025-5987?

Libssh: invalid return code for chacha20 poly1305 with openssl backend

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.

From the CVE record by redhat, last updated November 23, 2026, 22:38 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
libsshfrom 0.10.0 before 0.11.20.11.2
Red HatRed Hat Enterprise Linux 10 libsshall versions (default)0:0.11.1-5.el10_1
Red HatRed Hat Enterprise Linux 10.0 Extended Update Support libsshall versions (default)0:0.11.1-4.el10_0.1
Red HatRed Hat Enterprise Linux 9 libsshall versions (default)0:0.10.4-17.el9_7
Red HatRed Hat Enterprise Linux 9 libsshall versions (default)0:0.10.4-17.el9_7
Red HatRed Hat Enterprise Linux 9.2 Update Services for SAP Solutions libsshall versions (default)0:0.10.4-9.el9_2.2
Red HatRed Hat Enterprise Linux 9.4 Extended Update Support libsshall versions (default)0:0.10.4-13.el9_4.2
Red HatRed Hat Enterprise Linux 9.6 Extended Update Support libsshall versions (default)0:0.10.4-15.el9_6.1
Red HatRed Hat OpenShift Container Platform 4.13 openshift/ose-rhel-coreos-9all versions (default)413.92.202602240113-0
Red HatRed Hat OpenShift Container Platform 4.14 openshift/ose-rhel-coreos-9all versions (default)414.92.202601191325-0
Red HatRed Hat OpenShift Container Platform 4.15 openshift/ose-rhel-coreos-9all versions (default)415.92.202601271320-0
Red HatRed Hat OpenShift Container Platform 4.16 openshift/ose-rhel-coreos-9all versions (default)416.94.202601160124-0
Red HatRed Hat OpenShift Container Platform 4.17 openshift/ose-rhel-coreos-9all versions (default)417.94.202601120213-0
Red HatRed Hat OpenShift Container Platform 4.18 openshift/ose-rhel-coreos-9all versions (default)418.94.202601202224-0
Red HatRed Hat OpenShift Container Platform 4.19 openshift/ose-rhel-coreos-9all versions (default)4.19.9.6.202601260820-0
Red HatRed Hat OpenShift Container Platform 4.20 openshift/ose-rhel-coreos-9all versions (default)4.20.9.6.202601211057-0
Red HatRed Hat Enterprise Linux 6 libssh2not stated
Red HatRed Hat Enterprise Linux 7 libssh2not stated
Red HatRed Hat Enterprise Linux 8 libsshnot stated
Red HatRed Hat OpenShift Container Platform 4 openshift/ose-rhel-coreos-8all versions (the record names no range)

As the CVE record by redhat states it, last updated November 23, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
libsshlibsshfrom 0.10.0 before 0.11.2application

NVD analysis (status Modified), last modified November 23, 2026, 23:17 UTC.

How severe is CVE-2025-5987?

ScoreVersionVectorSource
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:Hredhat
High 8.1CVSS 3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-5987 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 22, 2026)
EPSS
1.73% probability of exploitation activity in the next 30 days, percentile 78.3 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Is there a workaround? (from the CVE record)

A workaround for this issue is to disable the [removed] cipher in applications using libssh when libssh is compiled with the OpenSSL backend, so the vulnerable ChaCha20-Poly1305 initialization path is not used. Alternatively, upgrade to a version of libssh containing the fix; upstream has released libssh 0.11.2 to correct this defect, and administrators are advised to upgrade or apply the upstream patch as soon as possible.

Where are the vendor advisories and references?

When was it published, and where is the official record?

Reserved
June 10, 2025
Published
July 7, 2025, 14:24 UTC
CVE record updated
November 23, 2026, 22:38 UTC by redhat
NVD
Modified, last modified November 23, 2026, 23:17 UTC
Last checked
CVE list November 28, 2026, 17:54 UTC; NVD November 24, 2026, 00:08 UTC; KEV December 3, 2026, 11:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

What other CVEs affect Red Hat Enterprise Linux 10?

Every CVE in Red Hat Enterprise Linux 10

Questions about CVE-2025-5987

Is CVE-2025-5987 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 11:38 UTC. FIRST's EPSS gives it a 1.73% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Red Hat Enterprise Linux 10 are affected by CVE-2025-5987?

libssh from 0.10.0 before 0.11.2 and Red Hat OpenShift Container Platform 4 all versions (the record names no range), per the CVE record by redhat. The tables above give every range the sources list.

Which version fixes CVE-2025-5987?

0.11.2, 0:0.11.1-5.el10_1, 0:0.11.1-4.el10_0.1, 0:0.10.4-17.el9_7, 0:0.10.4-9.el9_2.2 and 0:0.10.4-13.el9_4.2, per the CVE record by redhat. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-5987?

High (8.1, CVSS 3.1, from redhat). The severity table above shows each score with its source.

Where is the official record of CVE-2025-5987?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.