Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 65%

A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is… (CVE-2026-59842)

0
Low
Published: 07/21/2026 (07/21/2026, 12:33:36 UTC)
Source: GCVE Database

Description

A vulnerability in libssh was discovered where, during server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than expected is copied without proper length validation. This results in an out-of-bounds heap read, potentially allowing a remote unauthenticated attacker to disclose small amounts of server memory. The issue is classified as low severity and has no known exploits in the wild. Red Hat has released an update for libssh in their Hardened Images RPMs to address this flaw.

CVSS v3.1

Score 3.7low

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/22/2026, 23:37:20 UTC

Technical Analysis

The libssh library contains a vulnerability (CVE-2026-59842) involving improper length validation of a client-supplied Curve25519 public key during server-side GSSAPI key exchange. This flaw leads to an out-of-bounds heap read, which could disclose limited server memory contents to a remote unauthenticated attacker. The vulnerability is identified as CWE-125 (out-of-bounds read). Red Hat has issued a security advisory and provided updated libssh packages (libssh-0.12.1-4.hum1) as part of their Hardened Images RPMs to remediate the issue.

Potential Impact

The vulnerability allows remote unauthenticated attackers to read small amounts of server memory due to an out-of-bounds heap read caused by improper length validation of a Curve25519 public key during GSSAPI key exchange. There is no indication of integrity or availability impact. No known exploits are reported in the wild. The overall impact is limited to confidentiality with low severity.

Mitigation Recommendations

Red Hat has released an updated libssh package (libssh-0.12.1-4.hum1) as part of their Hardened Images RPMs to fix this vulnerability. Users of affected Red Hat Hardened Images should apply this update promptly. Patch status is confirmed by the vendor advisory. No additional mitigation steps are specified or required beyond applying the official update.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-x94w-cg8g-g593
Osv Schema Version
1.4.0
Aliases
["CVE-2026-59842"]
Ecosystems
[]
Database Specific Severity
LOW
Cvss Version
3.1

Threat ID: 6a6150e79c2644c7f8da2026

Added to database: 07/22/2026, 23:23:19 UTC

Last enriched: 07/22/2026, 23:37:20 UTC

Last updated: 07/31/2026, 19:24:46 UTC

Views: 27

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses