CVE-2025-5987

HIGHNVD 8.18.1
EchelonGraph scoreMEDIUM confidence

“—” beside the score: it is equal to NVD's CVSS score.

This high-severity CVE scores 8.1 under NVD CVSS v3. EPSS exploit probability: 1.7% (77th percentile of EPSS-scored CVEs). GitHub Security Advisory CVSS 5.0 is lower than this score; a lower GitHub score revises it only when its advisory is newer than the CVE record's last change, and this advisory (published 2025-07-07) is not newer than that change (2026-08-31), so it does not.

Triggered by: Headline CVSS from NVD CVSS v3
Sources: EPSS, GitHub Security Advisory, NVD CVSS v3
Trending — 3 sources updated this week
8.1EG
EchelonGraph verdictPlan a fixRemediate within your standard update timelines (the SSVC decision on this page).
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS PROB: 1.7%CVSS: 8.1Exploit: None knownExposed services: Not assessed

A fix is available — apply it.

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.

CVSS v3
8.1
EG Score
8.1HIGHmedium confidence
EG Risk
37
EG Risk 37/100

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed (value × EchelonGraph’s weight)
Severity81% × 45%
The EG Score, 8.1 of 10.
Exploitation1.7% × 40%
FIRST EPSS: the 30-day exploitation probability when EchelonGraph scored this CVE.
Automatability0% × 15%
CISA's SSVC Automatable value: no (Vulnrichment).
SSVC (CISA's decision table, applied by EchelonGraph): Track at low or medium mission impact; Track* at high (mission-essential systems).
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE.
Action: A fix is available. Apply it within your standard update timelines.
EPSS PROB
1.7%
EPSS %ILE
77th
KEV
Not listed

SSVC (CISA's decision table, applied by EchelonGraph)Track at low or medium mission impact; Track* at high (mission-essential systems).

A fix is available. Apply it within your standard update timelines.

Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). All three are CISA's SSVC values (Vulnrichment). EchelonGraph applied CISA's decision table to them; CISA publishes SSVC inputs and the table, not a decision for each CVE. Mission impact is CISA's Mission & Well-being decision point, and only you can judge it. CISA's table makes it high when Mission Prevalence is Essential — the vulnerable component "directly provides capabilities that constitute at least one MEF for at least one entity" (MEF: mission essential function) — or when Public Well-Being Impact is Irreversible: "multiple fatalities are likely", the cyber-physical system "is likely lost or destroyed", "extreme or serious externalities" are imposed on other parties, or social systems such as elections or the financial grid "are destabilized and potentially collapse". CISA's decision table

BOD 26-04 (CISA's remediation timeline, Table 1)14 days if the affected system is publicly exposed; Fix on system upgrade if it is not.

In CISA KEV no (CISA's KEV catalog) · Automatable no (CISA Vulnrichment) · Technical impact total (CISA Vulnrichment). Whether your system is publicly exposed is yours to answer. BOD 26-04 binds US Federal Civilian Executive Branch agencies; for anyone else it is CISA's published timeline, a reference rather than an obligation. The directive · how EchelonGraph applies it

Published

July 7, 2025

Last Modified

August 31, 2026

Advisory Details (10)

Auto-updated Jun 25, 2026
Patch available. Sources: redhat.
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:0985
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:0980
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:0978
Red HatMentions a patch (unverified)
https://access.redhat.com/errata/RHSA-2026:0702
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 9.4 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:0431
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 9.2 Update Services for SAP Solutions.

https://access.redhat.com/errata/RHSA-2026:0430
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 9.6 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:0428
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 10.0 Extended Update Support.

https://access.redhat.com/errata/RHSA-2026:0427
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 10.

https://access.redhat.com/errata/RHSA-2025:23484
Red HatMentions a patch (unverified)

Affected: Red Hat Enterprise Linux 9.

https://access.redhat.com/errata/RHSA-2025:23483

Patch Availability(15)

Vendor / EcosystemFix (by version range) / PatchReleasedSource
ubuntulibssh-gcrypt-dev (0.10.6-3ubuntu1.1) @ oracular2026-05-30ubuntu
redhatrhcos-413.92.202602240113-02026-03-05redhat
redhatrhcos-415.92.202601271320-02026-02-05redhat
redhatrhcos-4.19.9.6.202601260820-02026-02-04redhat
redhatrhcos-418.94.202601202224-02026-02-03redhat
redhatrhcos-414.92.202601191325-02026-01-30redhat
redhatrhcos-416.94.202601160124-02026-01-30redhat
redhatrhcos-4.20.9.6.202601211057-02026-01-27redhat
redhatrhcos-417.94.202601120213-02026-01-22redhat
redhatlibssh-0:0.10.4-9.el9_2.22026-01-12redhat
redhatlibssh-0:0.10.4-15.el9_6.12026-01-12redhat
redhatlibssh-0:0.11.1-4.el10_0.12026-01-12redhat
redhatlibssh-0:0.10.4-13.el9_4.22026-01-12redhat
redhatlibssh-0:0.10.4-17.el9_72025-12-18redhat
redhatlibssh-0:0.11.1-5.el10_12025-12-17redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Affected Packages

(3 across 3 ecosystems)
Debian:12(1)
PackageVulnerable rangeFix by version rangeDependents
libssh0.10.5-2, 0.10.5-3, 0.10.5-3+hurd.1, 0.10.6-0+deb12u1
  • every version up to 0.10.6-0+deb12u2: fixed in 0.10.6-0+deb12u2
—
Debian:13(1)
PackageVulnerable rangeFix by version rangeDependents
libssh—
  • every version up to 0.11.2-1: fixed in 0.11.2-1
—
Debian:14(1)
PackageVulnerable rangeFix by version rangeDependents
libssh—
  • every version up to 0.11.2-1: fixed in 0.11.2-1
—

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Additional Vendor Advisories

(7)

Data Freshness Timeline

(refreshed 12× in last 7d / 30× in last 30d)

Each row is a time one of our pipelines fetched, updated or re-scored this CVE. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. An arrow marks a change the record states ("CVSS v3 → 9.1"); EPSS and GHSA rows show the values recorded at that time, not what changed (EPSS values are rounded; hover one for the exact figures). Most recent first.

Showing the most recent 92 of 177 refreshes on record for this CVE.

A repeat, a row identical to one the same pipeline wrote less than 10 seconds earlier, is not a separate refresh and is not counted. 8 repeat rows among the latest 100 are merged into the row they repeat. The 85 oldest rows on record are not shown and were not checked, so the counts can still include repeats.

  1. 2026-10-15 16:31 UTCEPSS rescoreEPSS 1.7% · 77th percentile
  2. 2026-10-14 16:31 UTCEPSS rescoreEPSS 1.7% · 77th percentile
  3. 2026-10-13 16:33 UTCEPSS rescoreEPSS 1.7% · 77th percentile
  4. 2026-10-12 16:53 UTCEG score recompute
  5. 2026-10-12 16:33 UTCEPSS rescoreEPSS 1.7% · 76th percentile
  6. 2026-10-11 20:27 UTCEG score recompute
  7. 2026-10-11 18:39 UTCEG score recompute
  8. 2026-10-11 15:14 UTCEG score recompute
  9. 2026-10-11 13:47 UTCEPSS rescoreEPSS 1.7% · 76th percentile
  10. 2026-10-10 19:59 UTCEPSS rescoreEPSS 1.7% · 76th percentile
  11. 2026-10-09 20:06 UTCEPSS rescoreEPSS 1.7% · 76th percentile
  12. 2026-10-09 08:25 UTCOSV refresh
  13. 2026-10-08 17:10 UTCEPSS rescoreEPSS 1.7% · 76th percentile
  14. 2026-10-07 23:47 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  15. 2026-10-06 15:17 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  16. 2026-10-05 17:42 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  17. 2026-10-04 23:21 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  18. 2026-10-03 14:25 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  19. 2026-10-01 19:49 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  20. 2026-09-30 15:02 UTCEPSS rescoreEPSS 1.6% · 75th percentile
  21. 2026-09-29 15:20 UTCEPSS rescoreEPSS 1.6% · 74th percentile
  22. 2026-09-28 13:50 UTCEPSS rescoreEPSS 1.6% · 74th percentile
  23. 2026-09-26 15:58 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
  24. 2026-09-24 14:02 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  25. 2026-09-23 13:47 UTCEPSS rescoreEPSS 1.5% · 73rd percentile
Show 67 more
  1. 2026-09-19 15:42 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  2. 2026-09-19 15:03 UTCOSV refresh
  3. 2026-09-18 19:27 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  4. 2026-09-17 19:30 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  5. 2026-09-16 14:07 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  6. 2026-09-15 03:10 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  7. 2026-09-13 16:46 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  8. 2026-09-12 15:00 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  9. 2026-09-11 14:52 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  10. 2026-09-11 09:36 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  11. 2026-09-10 09:34 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  12. 2026-09-08 22:00 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  13. 2026-09-07 16:00 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  14. 2026-09-06 13:47 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  15. 2026-09-04 05:06 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  16. 2026-09-02 14:11 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  17. 2026-09-01 13:53 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  18. 2026-08-31 18:36 UTCVendor advisory
  19. 2026-08-31 18:36 UTCGHSA enrichmentGHSA-3pvj-q7qj-89fg · GitHub CVSS 5.0
  20. 2026-08-31 17:27 UTCEG score recompute
  21. 2026-08-31 17:27 UTCVendor advisory
  22. 2026-08-31 17:26 UTCGHSA enrichmentGHSA-3pvj-q7qj-89fg · GitHub CVSS 5.0
  23. 2026-08-30 19:16 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  24. 2026-08-30 01:21 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  25. 2026-08-28 21:40 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  26. 2026-08-27 14:24 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  27. 2026-08-26 14:45 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  28. 2026-08-25 13:48 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  29. 2026-08-25 08:26 UTCOSV refresh
  30. 2026-08-24 14:16 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  31. 2026-08-23 00:18 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  32. 2026-08-21 23:48 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  33. 2026-08-20 22:55 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  34. 2026-08-19 17:03 UTCEPSS rescoreEPSS 1.5% · 72nd percentile
  35. 2026-08-18 13:47 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  36. 2026-08-17 13:46 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  37. 2026-08-16 14:55 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  38. 2026-08-16 02:13 UTCEPSS rescoreEPSS 1.5% · 71st percentile
  39. 2026-08-15 01:29 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  40. 2026-08-13 21:59 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  41. 2026-08-12 13:50 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  42. 2026-08-11 13:42 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  43. 2026-08-10 23:59 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  44. 2026-08-09 13:46 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  45. 2026-08-09 01:52 UTCOSV refresh
  46. 2026-08-08 16:36 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  47. 2026-08-07 16:26 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  48. 2026-08-06 13:46 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  49. 2026-08-05 19:17 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  50. 2026-08-04 15:09 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  51. 2026-08-04 10:37 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  52. 2026-08-03 10:35 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  53. 2026-08-02 02:26 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  54. 2026-08-01 04:15 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  55. 2026-07-30 16:27 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  56. 2026-07-30 01:30 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  57. 2026-07-28 15:35 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  58. 2026-07-27 14:12 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  59. 2026-07-26 14:54 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  60. 2026-07-25 14:17 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  61. 2026-07-24 14:17 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  62. 2026-07-24 01:41 UTCOSV refresh
  63. 2026-07-23 14:18 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  64. 2026-07-23 03:00 UTCEG score recompute▲ 3.10
  65. 2026-07-22 14:08 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  66. 2026-07-21 15:24 UTCEPSS rescoreEPSS 1.4% · 70th percentile
  67. 2026-07-20 17:08 UTCEPSS rescoreEPSS 1.4% · 70th percentile

Frequently asked(5)

What is CVE-2025-5987?
CVE-2025-5987 is a high-severity vulnerability; its CVE record was published on July 7, 2025. 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…
When was CVE-2025-5987 made public?
CVE-2025-5987 was made public on April 26, 2025: that is the date its CVE record's CNA, Red Hat, Inc., gives for when the vulnerability was made public. The CVE record itself was published on July 7, 2025. EchelonGraph's copy of the record carries a last-modified date of August 31, 2026; the record at its source may have been updated since.
Is CVE-2025-5987 actively exploited?
CVE-2025-5987 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 1.7% probability of exploitation in the next 30 days (77th percentile of EPSS-scored CVEs).
What is the CVSS score of CVE-2025-5987?
CVE-2025-5987 has a CVSS v3 base score of 8.1 (NVD).
How do I remediate CVE-2025-5987?
A fix for CVE-2025-5987 is available: update to the fixed version the vendor names in its advisory. The vendor advisories EchelonGraph has for CVE-2025-5987 are linked in the Vendor Advisories panel on this page.

Dependency Blast Radius

See which npm, PyPI, Go, and Maven packages are affected by CVE-2025-5987

Explore →

Is Your Infrastructure Affected by CVE-2025-5987?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.