Skip to content
OpenAdvisories
Low · 3.7 CVE-2026-59842 EUVD-2026-46176GHSA-x94w-cg8g-g593

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

Published Jul 21, 2026 · Updated Nov 6, 2026 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
Red Hat Red Hat Enterprise Linux 10 — —
Red Hat Red Hat Hardened Images — —
Red Hat Red Hat Enterprise Linux 8 — —
Red Hat Red Hat Enterprise Linux 9 — —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.12.1-1 —
ReleasePackageFixed inAdvisory
RHEL 10 libssh +2 0.12.0-3.el10_2 RHSA-2026:55855
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 libssh +2 0.12.1-4.hum1 RHSA-2026:42922

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 10 libssh +2 0.12.0-3.el10_2 ALSA-2026:55855

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 10 libssh 0.12.0-3.el10_2 RLSA-2026:55855
ReleasePackageFixed inAdvisory
Alpine v3.24 libssh 0.12.1-r0 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 10 libssh +2 0.12.0-3.el10_2 ELSA-2026-55855

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling libssh +1 0.12.1-r0 —

Advisories 6

References