← Search CVEs

CVE-2026-59842

LOW 3.7 ALL-YEARS

Published 2026-07-21 · Last modified 2026-11-06 · redhat · NVD: Analyzed

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.

LIMITED SIGNALS

Current sources show no confirmed exploitation or catalogued public PoC. Missing or low probability estimates do not establish safety. Track for changes.

Exploitation likelihood

0.5%chance of exploitation in 30 days · 43rd percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

3.7CVSS 3.1 · LOW · CNA

  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ✓User interaction: No user interaction needed
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Supported CVE and PoC feeds are scheduled every 30 minutes, including for older CVEs. Other enrichment runs daily or weekly; source availability can delay updates. A later release appears after a tracked source lists it and a refresh succeeds.

Affected

Vendors Red Hat Libssh Redhat

Products Red Hat Enterprise Linux 10 Red Hat Hardened Images Red Hat Enterprise Linux 8 Red Hat Enterprise Linux 9 Libssh Hardened Images Enterprise Linux Enterprise Linux For Els Enterprise Linux For Eus Enterprise Linux For Ibm Z Systems Enterprise Linux For Ibm Z Systems Els Enterprise Linux For Ibm Z Systems Eus Enterprise Linux For Power Little Endian Enterprise Linux For Power Little Endian Els Enterprise Linux For Power Little Endian Eus

Weakness (CWE)

  • CWE-125: Out-of-bounds Read

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N

References and research data (JSON) · Change history

Vendor product assessments

Showing 32 of 41 vendor product statements; 9 omitted. Read the full vendor advisory.

  • libssh-debuginfo-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux AppStream (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.0-3.el10_2.src as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.0-3.el10_2?arch=src

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config-0:0.12.0-3.el10_2.noarch as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-config@0.12.0-3.el10_2?arch=noarch

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.ppc64le as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=ppc64le

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debuginfo-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debuginfo@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.aarch64 as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=aarch64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.s390x as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=s390x

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-debugsource-0:0.12.0-3.el10_2.x86_64 as a component of Red Hat Enterprise Linux BaseOS (v. 10) · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-debugsource@0.12.0-3.el10_2?arch=x86_64

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258 Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.1-4.hum1@aarch64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.1-4.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-0:0.12.1-4.hum1@x86_64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh@0.12.1-4.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config-0:0.12.1-4.hum1@noarch@public-hummingbird-aarch64-rpms as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-config@0.12.1-4.hum1?arch=noarch&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.1-4.hum1@aarch64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.1-4.hum1?arch=aarch64&distro=hummingbird-20251124&repository_id=public-hummingbird-aarch64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel-0:0.12.1-4.hum1@x86_64 as a component of Red Hat Hardened Images · fixed

    Vendor assessment for this product only.

    pkg:rpm/redhat/libssh-devel@0.12.1-4.hum1?arch=x86_64&distro=hummingbird-20251124&repository_id=public-hummingbird-x86_64-rpms

    • vendor fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/ Vendor guidance
    • workaround: Disable GSSAPIKeyExchange or remove gss-curve25519-sha256- from GSSAPIKexAlgorithms if appropriate.
    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh-config

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh-devel

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh.src as a component of Red Hat Enterprise Linux 8 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh?arch=src

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-config as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh-config

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh-devel as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh-devel

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00
  • libssh.src as a component of Red Hat Enterprise Linux 9 · known not affected

    Vendor assessment for this product only.

    Reason: vulnerable code not present

    pkg:rpm/redhat/libssh?arch=src

    Red Hat · CVE-2026-59842 · Updated 2026-11-07T11:20:30+00:00

Known Affected Software Configurations

VendorProductVersion range
LibsshLibssh0.12.0
RedhatHardened Images*
RedhatEnterprise Linux10.0
RedhatEnterprise Linux10.0
RedhatEnterprise Linux10.0
RedhatEnterprise Linux10.2
RedhatEnterprise Linux10.2
RedhatEnterprise Linux For Els10.2
RedhatEnterprise Linux For Els10.2
RedhatEnterprise Linux For Eus10.2
RedhatEnterprise Linux For Eus10.2
RedhatEnterprise Linux For Ibm Z Systems10.0
RedhatEnterprise Linux For Ibm Z Systems10.2
RedhatEnterprise Linux For Ibm Z Systems Els10.2
RedhatEnterprise Linux For Ibm Z Systems Eus10.2
RedhatEnterprise Linux For Power Little Endian10.0
RedhatEnterprise Linux For Power Little Endian10.2
RedhatEnterprise Linux For Power Little Endian Els10.2
RedhatEnterprise Linux For Power Little Endian Eus10.2

All CVSS metrics

  • LOW 3.7 v3.1 · CNA Primary
    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • LOW 3.7 v3.1 · NVD Secondary
    CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
  • MEDIUM 5.3 v3.1 · NVD Primary
    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

References

Advisories

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS