SB2026022406 - Multiple vulnerabilities in libssh
Published: February 24, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 5 secuirty vulnerabilities.
1) Out-of-bounds read (CVE-ID: CVE-2026-0968)
The vulnerability allows a remote attacker to gain access to potentially sensitive information.
The vulnerability exists due to a boundary condition within the sftp_parse_longname() function. A malicious SFTP server can send a specially crafted SSH_FXP_NAME message to trigger an out-of-bounds read and crash the application or read parts of system memory on the client system.
2) Input validation error (CVE-ID: CVE-2026-0967)
The vulnerability allows a local user to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input within the match_pattern() function when comparing configuration files or known hosts against the hostname. A local user with ability to modify the configuration file or known_hosts file can crash the application.
3) Buffer underflow (CVE-ID: CVE-2026-0966)
The vulnerability allows a remote attacker to perform a denial of service attack.
The vulnerability exists due to a boundary error within the ssh_get_hexa() function when reading zero-length input during GSSAPI authentication. A remote attacker can send specially crafted data to the application and perform a denial of service attack.
4) Input validation error (CVE-ID: CVE-2026-0965)
The vulnerability allows a local user to crash the application.
The vulnerability exists due to insufficient validation of user-supplied input when parsing configuration filers. A local user can supply a specially crafted configuration and crash the application.
5) Path traversal (CVE-ID: CVE-2026-0964)
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to input validation error when processing directory traversal sequences. A remote attacker can trick the victim into connecting to a malicious SCP server and overwrite arbitrary files on the user's system.
Remediation
Install update from vendor's website.
References
- https://www.libssh.org/security/advisories/CVE-2026-0968.txt
- https://www.libssh.org/security/advisories/CVE-2026-0967.txt
- https://www.libssh.org/security/advisories/CVE-2026-0966.txt
- https://www.libssh.org/security/advisories/CVE-2026-0965.txt
- https://www.libssh.org/security/advisories/CVE-2026-0964.txt