Summary
libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.
Security Fix(es):
* libssh: Buffer underflow in ssh_get_hexa() on invalid input (CVE-2026-0966)
* libssh: Improper sanitation of paths received from SCP servers (CVE-2026-0964)
* libssh: libssh: Denial of Service via improper configuration file handling (CVE-2026-0965)
* libssh: libssh: Denial of Service via inefficient regular expression processing (CVE-2026-0967)
* libssh: libssh: Denial of Service due to malformed SFTP message (CVE-2026-0968)
For more details about the security issue(s), including the impact, a CVSS score, acknowledgments, and other related information, refer to the CVE page(s) listed in the References section.
Additional Changes:
For detailed information on changes in this release, see the AlmaLinux Release Notes linked from the References section.
Fixed packages 3
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux · 10 | libssh | 0.12.0-2.el10 |
| AlmaLinux · 10 | libssh-config | 0.12.0-2.el10 |
| AlmaLinux · 10 | libssh-devel | 0.12.0-2.el10 |
Vulnerabilities 5
-
Medium 6.5
Libssh: libssh: denial of service via zero-length input in ssh_get_hexa()
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) authenti…
-
Medium 5.0
Libssh: improper sanitation of paths received from scp servers
A malicious SCP server can send unexpected paths that could make the client application override local files outside of working directory. This could be misused to create malicious executable or configuration files and make the user execute them under specifi…
-
Low 3.3
Libssh: libssh: denial of service via improper configuration file handling
A flaw was found in libssh where it can attempt to open arbitrary files during configuration parsing. A local attacker can exploit this by providing a malicious configuration file or when the system is misconfigured. This vulnerability could lead to a Denial …
-
Low 3.1
Libssh: libssh: denial of service due to malformed sftp message
A flaw was found in libssh in which a malicious SFTP (SSH File Transfer Protocol) server can exploit this by sending a malformed 'longname' field within an `SSH_FXP_NAME` message during a file listing operation. This missing null check can lead to reading bey…
-
Low 2.2
Libssh: libssh: denial of service via inefficient regular expression processing
A flaw was found in libssh. A remote attacker, by controlling client configuration files or known_hosts files, could craft specific hostnames that when processed by the `match_pattern()` function can lead to inefficient regular expression backtracking. This c…
References
-
report
https://access.redhat.com/security/cve/CVE-2026-0964
-
report
https://access.redhat.com/security/cve/CVE-2026-0965
-
report
https://access.redhat.com/security/cve/CVE-2026-0966
-
report
https://access.redhat.com/security/cve/CVE-2026-0967
-
report
https://access.redhat.com/security/cve/CVE-2026-0968
-
report
https://bugzilla.redhat.com/2433121
-
report
https://bugzilla.redhat.com/2436979
-
report
https://bugzilla.redhat.com/2436980
-
report
https://bugzilla.redhat.com/2436981
-
report
https://bugzilla.redhat.com/2436982
-
advisory
https://errata.almalinux.org/10/ALSA-2026-18160.html