Skip to main content
VulnerabilityPublished Updated

CVE-2026-0966: libssh. The API function ssh_get_hexa()

Affects libsshSource GCVE Database

0
Compare
Authoritative record:CVE-2026-0966· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium · fixed in 0.6.3-4.3ubuntu0.6+esm4 : update libssh when convenient.

Data as of 24 Nov 2026, 21:15 UTC

CVSS 3.0 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.06.5
EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.6.3-4.3ubuntu0.6+esm4, 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6, 0.9.3-2ubuntu2.5+esm3 +3
CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 26 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.

What to do

Upgrade to a fixed release listed under Affected software.

Affected software

ProductAffectedFixed in
Ubuntu 25.10libsshpkg:deb/ubuntu/libssh?arch=source&distro=questingOther threatsAffected
  • <0.11.2-1ubuntu0.2
Fixed in
  • 0.11.2-1ubuntu0.2
Ubuntu 24.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=nobleOther threatsAffected
  • <0.10.6-2ubuntu0.3
Fixed in
  • 0.10.6-2ubuntu0.3
Ubuntu 22.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=jammyOther threatsAffected
  • <0.9.6-2ubuntu0.22.04.6
Fixed in
  • 0.9.6-2ubuntu0.22.04.6
Ubuntu Pro 20.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/focalOther threatsAffected
  • <0.9.3-2ubuntu2.5+esm3
Fixed in
  • 0.9.3-2ubuntu2.5+esm3
Ubuntu Pro 18.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/bionicOther threatsAffected
  • <0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
Fixed in
  • 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
Ubuntu Pro 16.04 LTSlibsshpkg:deb/ubuntu/libssh?arch=source&distro=esm-infra/xenialOther threatsAffected
  • <0.6.3-4.3ubuntu0.6+esm4
Fixed in
  • 0.6.3-4.3ubuntu0.6+esm4

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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.

References

Community reviews

Loading reviews…