5.3

CVE-2026-59842: libssh Out-of-bounds Read

CVSS: 5.3v3.1MediumAnalyzed
AliasesUBUNTU-CVE-2026-59842DEBIAN-CVE-2026-59842CGA-2hf9-8jgp-rjfm
Published 21-07-2026Last modified 19-08-2026

Vulnerability summary

CVE-2026-59842 is a medium (CVSS 5.3) Out-of-bounds Read vulnerability in libssh. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41% of scored vulnerabilities.

Overall risk
21/100
0100
Low · default modelHow is this calculated?
CVSS score
5.3/10
010
Medium · v3.1 (NVD)
EPSS score
0.49%
0%100%
Low · +0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 2 · Related 1

Timeline

  1. 21-07-2026
    PublishedVulnerability first disclosed.
  2. 19-08-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 4 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

+0.09 pp

From 0.41% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.49%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Redhat10 products
Chainguard3 products
  • libssh< 0.12.1-r0
  • libssh-dev< 0.12.1-r0
  • libssh2All versions (No fix recorded)
Wolfi3 products
  • libssh< 0.12.1-r0
  • libssh-dev< 0.12.1-r0
  • libssh2All versions (No fix recorded)
Debian1 product
  • libssh< 0.12.1-1
Libssh1 product
Ubuntu1 product
  • libsshAll versions (No fix recorded)

6 vendors · 19 products

References

9 links