Skip to main content
Mallory
MediumVulnerability

CVE-2026-59842: Heap out-of-bounds read in libssh GSSAPI Curve25519 key exchange

Published Jul 21, 2026 · Updated 2 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS5.3Medium · v3.1
EPSS0.49%35th percentile
CISA KEVNoNot listed
In the wildNoneNo exploitation reported
Vendors
Red HatLibssh
IdentifiersCVE-2026-59842CWE-125 · Out-of-bounds Read

CVE-2026-59842 is an out-of-bounds heap read in libssh's server-side GSSAPI key exchange. A client-supplied Curve25519 public key shorter than the expected length is copied without sufficient length validation, causing a read beyond the supplied heap buffer. A remote unauthenticated attacker may exploit this flaw to disclose small amounts of server memory.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation may expose small amounts of server memory to a remote unauthenticated attacker. The specific data exposed and the reliability or extent of disclosure are not established. Supported F5 releases evaluated for this vulnerability are unaffected; that assessment excludes releases beyond End of Technical Support.

Mitigation

If you can’t patch tonight, do this now.

Where an immediate upgrade is not possible, disable server-side GSSAPI key exchange to prevent exploitation through the affected key-exchange path. Restrict SSH service exposure to trusted networks until fixed packages can be deployed.

Remediation

Patch, then assume compromise.

Upgrade affected libssh deployments to version 0.12.1 or an applicable vendor-fixed release. For Red Hat Enterprise Linux 10, apply RHSA-2026:55855, which supplies the fixed libssh package release 0.12.0-3.el10_2. No remediation is required for the supported F5 releases evaluated as unaffected.

Public exploits

Exploits

No public exploits tracked yet. Mallory keeps watching.

View more in app →
No public exploit code observed for this vulnerability. Mallory keeps watching.
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
LibsshLibsshapplication
Red HatEnterprise Linux For Elsoperating_system
Red HatEnterprise Linux For Eusoperating_system
Red HatEnterprise Linux For Ibm Z Systemsoperating_system
Red HatEnterprise Linux For Ibm Z Systems Elsoperating_system
Red HatEnterprise Linux For Ibm Z Systems Eusoperating_system
Red HatEnterprise Linux For Power Little Endianoperating_system
Red HatEnterprise Linux For Power Little Endian Elsoperating_system
Red HatEnterprise Linux For Power Little Endian Eusoperating_system
Red HatHardened Imagesapplication
Red HatRed Hat Enterprise Linuxoperating_system
FAQ

Frequently asked questions

Is CVE-2026-59842 exploited in the wild?
As of Oct 13, 2026, Mallory has no reports of CVE-2026-59842 being exploited in the wild. It is not listed in CISA KEV.
Is there a public exploit for CVE-2026-59842?
As of Oct 13, 2026, Mallory has found no public exploit for CVE-2026-59842.
Is there a patch for CVE-2026-59842?
Upgrade affected libssh deployments to version 0.12.1 or an applicable vendor-fixed release. For Red Hat Enterprise Linux 10, apply RHSA-2026:55855, which supplies the fixed libssh package release 0.12.0-3.el10_2.
What products are affected by CVE-2026-59842?
Libssh, Red Hat Enterprise Linux For Els, Red Hat Enterprise Linux For Eus, Red Hat Enterprise Linux For Ibm Z Systems, Red Hat Enterprise Linux For Ibm Z Systems Els, and 6 more.
How severe is CVE-2026-59842?
CVE-2026-59842 has a CVSS v3.1 score of 5.3 (Medium) and an EPSS score of 0.49% (35th percentile) as of Oct 13, 2026.
Activity feed

Recent activity

5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidenceEvery report linking this CVE to a named adversary.
Associated malwareMalware families linked to this CVE, with evidence and IOCs.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity1Community discussion across Reddit, Mastodon, and other social sources.