Skip to content
Red HatCVE-2026-59842

Red Hat libssh. During server-side GSSAPI key exchange: out-of-bounds read

Low3.7CVE-2026-59842 · Published Jul 21, 2026 · updated Sep 22, 2026

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.

Red Hat advisory

Affected versions

PackageAffectedFixed in
Red Hat Enterprise Linux 8
Product
all versionsNo fix yet
Red Hat Enterprise Linux 9
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat libarchive: integer overflow
Low2.9Jul 21
Red Hat Enterprise Linux 10: information disclosure
Low3.4Jul 21
Red Hat Enterprise Linux 10: out-of-bounds read
Medium4.2Jul 21
Red Hat ansible-core: argument injection
High7.8Jul 21
Red Hat libssh. Logic errors: denial of service
Low3.1Jul 21
Red Hat libssh: use after free
Medium4.3Jul 21

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.