Summary
This update for libssh fixes the following issues:
- CVE-2026-15370: stack buffer overflow in SFTP server longname construction (bsc#1272162).
- CVE-2026-59843: denial of service via zero advertised channel packet size (bsc#1272164).
- CVE-2026-59844: denial of service via oversized SFTP read length (bsc#1272165).
- CVE-2026-59845: denial of service via unchecked ProxyCommand fork() failure (bsc#1272166).
- CVE-2026-59846: information disclosure via ProxyCommand %r username expansion (bsc#1272167).
- CVE-2026-59847: integrity downgrade via OpenSSL AES-GCM tag verification (bsc#1272168).
- CVE-2026-59848: denial of service via SFTP responses with unknown request IDs (bsc#1272169).
- CVE-2026-59849: denial of service via automatic certificate authentication loop (bsc#1272170).
- CVE-2026-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Changes for libssh:
- Update to 0.11.5:
* Zero-initialize every ssh_string
* Fix compatibility with C23 / gcc16
* Fix multiple memory leaks, null checks, and error checks
* Validate peer public key in DH key exchange
* Avoid remote window overflow
* Avoid off-by-one overflow during kbdint authentication
* Avoid logging uninitialized sequence numbers
* Avoid double conversion of SFTP version number
* Send correct SFTP server version number
* Avoid handling repeated SFTP INIT messages
* Harmonize return values from SFTP server callbacks
- Update %suse_version checks for SLES 16.x (jsc#PED-15815)
Fixed packages 1
| Release | Package | Fixed in |
|---|---|---|
| openSUSE · Leap 16.0 | libssh | 0.11.5-160000.1.1 |
Vulnerabilities 9
-
Medium 6.7
Libssh: libssh: stack buffer overflow in sftp server longname construction
A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can ov…
-
Medium 6.5
Libssh: libssh: denial of service via zero advertised channel packet size
A flaw was found in libssh. A remote authenticated peer can advertise a zero maximum packet size in SSH_MSG_CHANNEL_OPEN, causing later channel writes to loop indefinitely and consume CPU, leading to denial of service.
-
Medium 6.5
Libssh: libssh: denial of service via oversized sftp read length
A flaw was found in libssh. A remote authenticated client can issue SSH_FXP_READ requests with an arbitrarily large length, causing a libssh SFTP server to allocate excessive memory and potentially exhaust it through repeated requests.
-
Medium 5.9
Libssh: libssh: integrity downgrade via openssl aes-gcm tag verification
A flaw was found in libssh. Incorrect AES-GCM finalization checks in builds using the OpenSSL backend can effectively remove integrity protection, allowing an in-path attacker to modify plaintext on the wire without detection.
-
Medium 5.3
Libssh: libssh: denial of service via unchecked proxycommand fork() failure
A flaw was found in libssh. When ProxyCommand is used, an unchecked fork() failure can be stored as process ID -1; during cleanup, signals may then be sent across the caller's accessible process tree, leading to local denial of service.
-
Medium 5.3
Libssh: libssh: denial of service via sftp responses with unknown request ids
A flaw was found in libssh. A malicious SFTP server can send responses for unknown request IDs that libssh clients keep queued indefinitely, causing unbounded memory growth and client-side denial of service.
-
Medium 4.3
Libssh: libssh: use-after-free via data callbacks on closed channels
A flaw was found in libssh. If data packets are processed after a channel is closed, channel data callbacks can be invoked after the associated data has already been freed, leading to crashes or possible use-after-free conditions.
-
Low 3.9
Libssh: libssh: information disclosure via proxycommand %r username expansion
A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can inject shell metacharacters, exposing environment variables and causing unintended shell behavior.
-
Low 3.1
Libssh: libssh: denial of service via automatic certificate authentication loop
A flaw was found in libssh. Logic errors in automatic certificate-based public key authentication can cause libssh clients to loop indefinitely when configured certificates are missing or repeatedly rejected by a server, leading to denial of service.
References
-
report
https://bugzilla.suse.com/1272162
-
report
https://bugzilla.suse.com/1272164
-
report
https://bugzilla.suse.com/1272165
-
report
https://bugzilla.suse.com/1272166
-
report
https://bugzilla.suse.com/1272167
-
report
https://bugzilla.suse.com/1272168
-
report
https://bugzilla.suse.com/1272169
-
report
https://bugzilla.suse.com/1272170
-
report
https://bugzilla.suse.com/1272171
-
web
https://www.suse.com/security/cve/CVE-2026-15370
-
web
https://www.suse.com/security/cve/CVE-2026-59843
-
web
https://www.suse.com/security/cve/CVE-2026-59844
-
web
https://www.suse.com/security/cve/CVE-2026-59845
-
web
https://www.suse.com/security/cve/CVE-2026-59846
-
web
https://www.suse.com/security/cve/CVE-2026-59847
-
web
https://www.suse.com/security/cve/CVE-2026-59848
-
web
https://www.suse.com/security/cve/CVE-2026-59849
-
web
https://www.suse.com/security/cve/CVE-2026-59850