CVE-2026-0966
Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
No exploitation reported by the sources we read.
- Published2026-03-26
- Fixed in0.11.4
- WeaknessCWE-124
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-03-2620:06CVE publishedCNA
Observed activity
isMalicious corpus · updated 2026-11-03 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-0966?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-0966?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.11 | < 0.11.4 | 0.11.4 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 8.0 | = 8.0 | no fix published | NVD |
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
1 more product in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA9 products
As redhat, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Red Hat Enterprise Linux 10other versions: affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:0.12.0-2.el10
- Red Hat Enterprise Linux 9other versions: affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
Not affected ≥ 0:0.10.4-18.el9
- Red Hat Hardened Imagesother versions: affected
package libssh-mainhttps://catalog.redhat.com/software/containers/
Not affected ≥ 0.12.0-1.1.hum1
- Red Hat Enterprise Linux 6other versions: not affected
package libssh2https://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 7other versions: not affected
package libssh2https://access.redhat.com/downloads/content/package-browser/
- Red Hat Enterprise Linux 8other versions: affected
package libsshhttps://access.redhat.com/downloads/content/package-browser/
3 more products in the CVE record.
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-09-01
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- libsshUbuntu:Pro:20.04:LTSall versions · fixed in 0.9.3-2ubuntu2.5+esm3
- libsshUbuntu:Pro:18.04:LTSall versions · fixed in 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm6
- libsshUbuntu:Pro:16.04:LTSall versions · fixed in 0.6.3-4.3ubuntu0.6+esm4
- libsshUbuntu:25.10all versions · fixed in 0.11.2-1ubuntu0.2
- libsshUbuntu:24.04:LTSall versions · fixed in 0.10.6-2ubuntu0.3
- libsshUbuntu:22.04:LTSall versions · fixed in 0.9.6-2ubuntu0.22.04.6
- libsshTuxCare:CentOS:8.5all versions · fixed in 0.9.4-3.el8.tuxcare.els9and 2 other packages
- libsshTuxCare:CentOS:8.4all versions · fixed in 0.9.4-3.el8.tuxcare.els9and 2 other packages
43 more package ranges on OSV.dev
Vendor advisories
libssh: libssh: Denial of Service via zero-length input in ssh_get_hexa()
libssh as a component of Red Hat Enterprise Linux 8 · libssh-config as a component of Red Hat Enterprise Linux 8 · libssh-devel as a component of Red Hat Enterprise Linux 8 · +3 more
Red Hat Security Advisory: libssh security update
Red Hat Security Advisory: libssh security update
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Fix
- Update Libssh to 0.11.4
- Vendor fix Red Hat Product Security RHSA-2026:18683 · 32 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2026:7067 · 7 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security RHSA-2026:18683 · 32 productsApplications using libssh should avoid passing zero-length input to ssh_get_hexa(), ssh_get_fingerprint_hash(), and ssh_print_hexa(). For the remotely reachable GSSAPI authentication path, disable GSSAPI authentication in the affected libssh-based application if it is not required, or configure th…
- No fix available, says the vendor Red Hat Product Security CVE-2026-0966 · 6 productsFix deferred
Advisories and patches
- access.redhat.comVendor Advisory
- access.redhat.comMitigation · Vendor Advisory
- bugzilla.redhat.comVendor Advisory
- www.libssh.orgRelease Notes
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionnone2026-03-27
- OpenCVESSVC decisionnone—
- NVDCVSS 3.18.2read 2026-10-23
- CNACVSS 3.06.52026-11-02
- CNAweakness (CWE)CWE-1242026-11-02
- FIRST EPSSEPSS score0.6 %2026-11-03
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- AZL-81095same flawAzure Linux · MIT
- EUVD-2026-16330same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-wcqf-w94x-4wg2same flawGitHub Advisory Database · CC-BY-4.0
- JLSEC-2026-781same flawJulia Security Advisories · CC-BY-4.0
- MINI-qv35-wmgm-hjq3same flawMinimOS · LicenseRef-unstated
- ALSA-2026:18160advisory covering several CVEsAlmaLinux · MIT
- ALSA-2026:18683advisory covering several CVEsAlmaLinux · MIT
- MGASA-2026-0202advisory covering several CVEsMageia · LicenseRef-unstated
- OESA-2026-1558advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1559advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1560advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1561advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1562advisory covering several CVEsopenEuler · LicenseRef-unstated
- OESA-2026-1563advisory covering several CVEsopenEuler · LicenseRef-unstated
- openSUSE-SU-2026:10203-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2026:18160advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:18683advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2026:7067advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2026:18160advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2026:18683advisory covering several CVEsRocky Linux · BSD-3-Clause
- SUSE-SU-2026:0567-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:0778-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:0779-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:1344-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:1565-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:20524-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2026:20531-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-8051-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
- Published
- 2026-03-26
- Last Modified
- 2026-09-01
- NVD status
- Modified
- GitHub Advisory
- GHSA-wcqf-w94x-4wg2
Frequently asked questions
What is CVE-2026-0966?
Is CVE-2026-0966 actively exploited?
What is the CVSS score for CVE-2026-0966?
Running libssh? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-wcqf-w94x-4wg2
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0