CVE catalog

CVE-2026-0966

A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Gener

[CVE catalog]

Severity
High · CVSS 8.2CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
Published
Source
[NVD] · [CVE record]
EPSS
0.60% · Oct 25, 2026

A flaw was found in libssh. The API function `ssh_get_hexa()` is vulnerable to a denial of service when processing zero-length input. This can be exploited remotely by an attacker during GSSAPI (Generic Security Service Application Program Interface) authentication if the server's logging verbosity is set to `SSH_LOG_PACKET (3)` or higher. Successful exploitation could lead to a self-Denial of Service of the per-connection daemon process.

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+deb13u1fixed
Debianlibsshtrixie-security0.11.5-0+deb13u1fixed
Debianlibsshbookworm0.10.6-0+deb12u2vulnerable
Debianlibsshbookworm-security0.10.6-0+deb12u3fixed
CpelibsshNot reportedNot reportedvulnerable
CpelibsshNot reported0.10.6-2ubuntu0.3fixed
Cpelibssh-4Not reported0.10.6-2ubuntu0.3fixed
Cpelibssh-devNot reported0.10.6-2ubuntu0.3fixed
Cpelibssh-docNot reported0.10.6-2ubuntu0.3fixed
Cpelibssh-gcrypt-4Not reported0.10.6-2ubuntu0.3fixed
Cpelibssh-gcrypt-devNot reported0.10.6-2ubuntu0.3fixed
CpelibsshNot reported0.11.4fixed
Cpehardened_imagesNot reportedNot reportedunknown
Cpeopenshift_container_platformNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
CpelibsshNot reported0.11.4fixed
Cpehardened_imagesNot reportedNot reportedunknown
Cpeopenshift_container_platformNot reportedNot reportedunknown
Cpeenterprise_linuxNot reportedNot reportedunknown
Ubuntulibsshpro0.9.0-1ubuntu1vulnerable
Ubuntulibsshpro0.9.0-1ubuntu4vulnerable
Ubuntulibsshpro0.9.0-1ubuntu5vulnerable
Ubuntulibsshpro0.9.3-2ubuntu1vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.1vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.2vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.3vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.4vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.5vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.5+esm1vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.5+esm2vulnerable
Ubuntulibsshpro0.9.3-2ubuntu2.5+esm3fixed
Ubuntulibssh22.040.9.6-1vulnerable
Ubuntulibssh22.040.9.6-1build1vulnerable
Ubuntulibssh22.040.9.6-2vulnerable
Ubuntulibssh22.040.9.6-2build1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.1vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.2vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.3vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.4vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.5vulnerable
Ubuntulibssh22.040.9.6-2ubuntu0.22.04.6fixed
Ubuntulibssh24.040.10.5-3ubuntu1vulnerable
Ubuntulibssh24.040.10.5-3ubuntu2vulnerable
Ubuntulibssh24.040.10.6-2vulnerable
Ubuntulibssh24.040.10.6-2build1vulnerable
Ubuntulibssh24.040.10.6-2build2vulnerable
Ubuntulibssh24.040.10.6-2ubuntu0.1vulnerable
Ubuntulibssh24.040.10.6-2ubuntu0.2vulnerable
Ubuntulibssh24.040.10.6-2ubuntu0.3fixed
Ubuntulibssh25.100.11.1-1vulnerable
Ubuntulibssh25.100.11.1-2vulnerable
Ubuntulibssh25.100.11.2-1vulnerable
Ubuntulibssh25.100.11.2-1build1vulnerable
Ubuntulibssh25.100.11.2-1ubuntu0.1vulnerable
Ubuntulibssh25.100.11.2-1ubuntu0.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianlibsshsourcesid0.12.0-1not yet assignedNot reported[1127693]
Debianlibsshsourceforky0.12.0-1not yet assignedNot reported[1127693]
Debianlibsshsourcetrixie0.11.5-0+deb13u1not yet assignedNot reported[1127693]
Debianlibsshsourcebookworm0.10.6-0+deb12u3not yet assignedNot reported[1127693]
CpelibsshcpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
Cpelibssh-4cpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
Cpelibssh-devcpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
Cpelibssh-doccpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
Cpelibssh-gcrypt-4cpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
Cpelibssh-gcrypt-devcpeNot reported0.10.6-2ubuntu0.3Not reportedNot reportedNot reported
CpelibsshcpeNot reported0.11.4Not reportedNot reportedNot reported
CpelibsshcpeNot reported0.11.4Not reportedNVD-CVE-2026-0966Not reported
Ubuntulibsshdebpro0.9.3-2ubuntu2.5+esm3Not reportedUBUNTU-CVE-2026-0966Not reported
Ubuntulibsshdeb22.040.9.6-2ubuntu0.22.04.6Not reportedUBUNTU-CVE-2026-0966Not reported
Ubuntulibsshdeb24.040.10.6-2ubuntu0.3Not reportedUBUNTU-CVE-2026-0966Not reported
Ubuntulibsshdeb25.100.11.2-1ubuntu0.2Not reportedUBUNTU-CVE-2026-0966Not reported

[Debian bug #1127693]

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libssh-4]Affected

    Source package: [libssh]

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

  • [libssh-dev]Affected

    Source package: [libssh]

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

  • [libssh-doc]Affected

    Source package: [libssh]

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

    • 0.10.6-0+deb12u2 · all · bookworm

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

  • [libssh-gcrypt-4]Affected

    Source package: [libssh]

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

  • Source package: [libssh]

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

    • 0.10.6-0+deb12u2 · arm64 · bookworm

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

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

      Affected · Fixed: 0.10.6-0+deb12u3

      nvd · libssh · debian · bookworm; nvd · libssh · debian · 12

[Debian 13 (Trixie)]

  • [libssh-4]Affected

    Source package: [libssh]

    Details (4)
    • 0.11.2-1+deb13u1 · amd64 · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.2-1+deb13u1 · arm64 · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

  • [libssh-dev]Affected

    Source package: [libssh]

    Details (4)
    • 0.11.2-1+deb13u1 · amd64 · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.2-1+deb13u1 · arm64 · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · amd64 · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · arm64 · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

  • [libssh-doc]Affected

    Source package: [libssh]

    Details (4)
    • 0.11.2-1+deb13u1 · all · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.2-1+deb13u1 · all · trixie

      Affected · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

    • 0.11.5-0+deb13u1 · all · trixie-security

      Fixed · Fixed: 0.11.5-0+deb13u1

      nvd · libssh · debian · 13

Observed:

References