Skip to content
Threat Brief

← All advisories

CVE-2026-59842

Medium 5.3No known exploitationFix status unknown

Libssh: libssh: information disclosure via short gssapi curve25519 public key

Record last updated

CVSS score

5.3

Medium on a 0 to 10 scale

EPSS, chance of exploitation in 30 days

0.5%

Higher than 35% of scored CVEs. A prediction, not evidence.

CISA remediation deadline

None

Not in the KEV catalog

Description

A flaw was found in libssh. During server-side GSSAPI key exchange, a client-supplied Curve25519 public key shorter than the expected length is copied without proper length validation, leading to an out-of-bounds heap read. This could allow a remote unauthenticated attacker to disclose small amounts of server memory.

Weakness: CWE-125

Patching and mitigation

Patch status
Unknown: no source documents a fix
Mitigation
Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate. Source (opens in a new tab)
Vendor guidance
access.redhat.com (opens in a new tab)

Affected products

VendorProductAffected versionsFixed inPer
libsshlibssh0.12.0Not documentedNIST NVD
redhatenterprise_linux10.0Not documentedNIST NVD
redhatenterprise_linux10.0Not documentedNIST NVD
redhatenterprise_linux10.0Not documentedNIST NVD
redhatenterprise_linux10.2Not documentedNIST NVD
redhatenterprise_linux10.2Not documentedNIST NVD
redhatenterprise_linux_for_els10.2Not documentedNIST NVD
redhatenterprise_linux_for_els10.2Not documentedNIST NVD
redhatenterprise_linux_for_eus10.2Not documentedNIST NVD
redhatenterprise_linux_for_eus10.2Not documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems10.0Not documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems10.2Not documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems_els10.2Not documentedNIST NVD
redhatenterprise_linux_for_ibm_z_systems_eus10.2Not documentedNIST NVD
redhatenterprise_linux_for_power_little_endian10.0Not documentedNIST NVD
redhatenterprise_linux_for_power_little_endian10.2Not documentedNIST NVD
redhatenterprise_linux_for_power_little_endian_els10.2Not documentedNIST NVD
redhatenterprise_linux_for_power_little_endian_eus10.2Not documentedNIST NVD
redhathardened_imagesNot documentedNot documentedNIST NVD
Red HatRed Hat Enterprise Linux 10 (unaffected)0:0.12.0-3.el10_2Not documentedCVE Program
Red HatRed Hat Enterprise Linux 8 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Enterprise Linux 9 (status unknown)Not documentedNot documentedCVE Program
Red HatRed Hat Hardened Images (unaffected)0.12.1-4.hum1Not documentedCVE Program

Timeline

  1. Disclosure

    CVE record published by redhat

    Source: CVE Program (opens in a new tab)

Vendor guidance and references