CVE catalog

CVE-2026-59842

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 o

[CVE catalog]

Severity
Low · CVSS 3.7CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:N/A:N
Published
Source
[NVD] · [CVE record]
EPSS
0.49% · Oct 25, 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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianlibsshsid0.12.2-1fixed
Debianlibsshforky0.12.2-1fixed
Debianlibsshtrixie0.11.5-0+deb13u1not affected
Debianlibsshtrixie-security0.11.5-0+deb13u1not affected
Debianlibsshbookworm0.10.6-0+deb12u2not affected
Debianlibsshbookworm-security0.10.6-0+deb12u3not affected
CpelibsshNot reportedNot reportednot affected
CpelibsshNot reportedNot reportedunknown
Cpehardened_imagesNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
Cpeenterprise_linux_for_elsNot reportedNot reportedunknown
Cpeenterprise_linux_for_eusNot reportedNot reportedunknown
Cpeenterprise_linux_for_ibm_z_systemsNot reportedNot reportedunknown
Cpeenterprise_linux_for_ibm_z_systems_elsNot reportedNot reportedunknown
Cpeenterprise_linux_for_ibm_z_systems_eusNot reportedNot reportedunknown
Cpeenterprise_linux_for_power_little_endianNot reportedNot reportedunknown
Cpeenterprise_linux_for_power_little_endian_elsNot reportedNot reportedunknown
Cpeenterprise_linux_for_power_little_endian_eusNot reportedNot reportedunknown

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibsshsourcesid0.12.1-1not yet assignedNot reported[1142537]
Debianlibsshsourceforky0.12.1-1not yet assignedNot reported[1142537]
DebianlibsshsourcetrixieNot affectedunimportantNot reported[1142537]
DebianlibsshsourcebookwormNot affectedunimportantNot reported[1142537]

[Debian bug #1142537]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libssh-4]Not affected

    Source package: [libssh]

    Details (4)
    • 0.10.6-0+deb12u2 · amd64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

  • [libssh-dev]Not affected

    Source package: [libssh]

    Details (4)
    • 0.10.6-0+deb12u2 · amd64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

  • [libssh-doc]Not affected

    Source package: [libssh]

    Details (4)
    • 0.10.6-0+deb12u2 · all · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u2 · all · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · all · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · all · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

  • [libssh-gcrypt-4]Not affected

    Source package: [libssh]

    Details (4)
    • 0.10.6-0+deb12u2 · amd64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

  • [libssh-gcrypt-dev]Not affected

    Source package: [libssh]

    Details (4)
    • 0.10.6-0+deb12u2 · amd64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · amd64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

    • 0.10.6-0+deb12u1 · arm64 · bookworm-security

      Not affected

      nvd · libssh · debian · bookworm

Observed:

References