Every CVE Search/ Get API key

CVE-2026-59846

Libssh: libssh: information disclosure via proxycommand %r username expansion

3.9 LowFix available

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.

Attack profile

How easy it is to exploit

Attack vector
Local
Complexity
Low
Privileges needed
Low
User interaction
Required

What an attacker can affect

Confidentiality
Low
Integrity
Low
Availability
None

Exploit likelihood

0.12%Unchanged since Jul 22, 2026
90%50%10%1%

What each source reports

CVE List Score used 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.

Record
CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-78, CWE-77
Updated
2026-11-06
EUVDEUVD-2026-46254 3.9

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.

Record
EUVD-2026-46254
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-06
GitHub AdvisoriesGHSA-fvwj-j79q-57v7 3.9

A flaw was found in libssh. A malicious username expanded through %r in ProxyCommand handling can...

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.

Record
GHSA-fvwj-j79q-57v7
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-77, CWE-78
Updated
2026-11-02
NVD 3.9

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.

Record
CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Weakness
CWE-78, CWE-77
Updated
2026-11-02
OSVALPINE-CVE-2026-59846 3.9

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.

Record
ALPINE-CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-03
OSVBELL-CVE-2026-59846 3.9
Record
BELL-CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
Show 25 moreShow less
OSVDEBIAN-CVE-2026-59846 3.9

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.

Record
DEBIAN-CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVRHSA-2026:42922 8.8

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:42922
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:55855 8.8

Red Hat Security Advisory: libssh security update

Record
RHSA-2026:55855
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:62217 6.5

Red Hat Security Advisory: libssh security update

Record
RHSA-2026:62217
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRHSA-2026:62218 6.5

Red Hat Security Advisory: libssh security update

Record
RHSA-2026:62218
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2026:55855 8.8

Important: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: information disclosure via short GSSAPI Curve25519 public key (CVE-2026-59842)

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)

  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)

  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)

  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)

  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)

  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)

  • libssh: libssh: denial of service via automatic certificate authentication loop (CVE-2026-59849)

  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

  • libssh: libssh: authentication bypass via missing GSSAPI principal check (CVE-2026-59851)

  • libssh: libssh: stack buffer overflow in SFTP server longname construction (CVE-2026-15370)

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.

Record
RLSA-2026:55855
CVSS 3.1
8.8 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRLSA-2026:62217 6.5

Moderate: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)

  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)

  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)

  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)

  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)

  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)

  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

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.

Record
RLSA-2026:62217
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVRLSA-2026:62218 6.5

Moderate: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)

  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)

  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)

  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)

  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)

  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)

  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

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.

Record
RLSA-2026:62218
CVSS 3.1
6.5 MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-59846 3.9

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.

Record
UBUNTU-CVE-2026-59846
CVSS 3.1
3.9 LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
Updated
2026-11-02
OSVALSA-2026:55855 No score

Important: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: information disclosure via short GSSAPI Curve25519 public key (CVE-2026-59842)
  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)
  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)
  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)
  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)
  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)
  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)
  • libssh: libssh: denial of service via automatic certificate authentication loop (CVE-2026-59849)
  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)
  • libssh: libssh: authentication bypass via missing GSSAPI principal check (CVE-2026-59851)
  • libssh: libssh: stack buffer overflow in SFTP server longname construction (CVE-2026-15370)

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.

Record
ALSA-2026:55855
Updated
2026-11-02
OSVALSA-2026:62217 No score

Moderate: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)
  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)
  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)
  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)
  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)
  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)
  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

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.

Record
ALSA-2026:62217
Updated
2026-11-02
OSVALSA-2026:62218 No score

Moderate: libssh security update

libssh is a library which implements the SSH protocol. It can be used to implement client and server applications.

Security Fix(es):

  • libssh: libssh: denial of service via zero advertised channel packet size (CVE-2026-59843)
  • libssh: libssh: denial of service via oversized SFTP read length (CVE-2026-59844)
  • libssh: libssh: denial of service via unchecked ProxyCommand fork() failure (CVE-2026-59845)
  • libssh: libssh: information disclosure via ProxyCommand %r username expansion (CVE-2026-59846)
  • libssh: libssh: integrity downgrade via OpenSSL AES-GCM tag verification (CVE-2026-59847)
  • libssh: libssh: denial of service via SFTP responses with unknown request IDs (CVE-2026-59848)
  • libssh: libssh: use-after-free via data callbacks on closed channels (CVE-2026-59850)

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.

Record
ALSA-2026:62218
Updated
2026-11-02
OSVCLSA-2026-1787056678 No score

libssh: Fix of 2 CVEs

  • CVE-2025-4878: initialize pointers and properly check the return value of ssh_pki_import_privkey_file() in privatekey_from_file(), so a missing key file no longer leaves an uninitialized key in use
  • CVE-2026-59846: validate usernames and reject shell metacharacters before they are expanded into a shell-evaluated ProxyCommand
Record
CLSA-2026-1787056678
Updated
2026-11-02
OSVMGASA-2026-0425 No score

Updated libssh packages fix security vulnerabilities

Stack buffer overflow in SFTP server longname construction. (CVE-2026-15370) Denial of service via zero advertised channel packet size. (CVE-2026-59843) Denial of service via oversized SFTP read length. (CVE-2026-59844) Denial of service via unchecked ProxyCommand fork() failure. (CVE-2026-59845) Information disclosure via ProxyCommand %r username expansion. (CVE-2026-59846) Integrity downgrade via OpenSSL AES-GCM tag verification. (CVE-2026-59847) Denial of service via SFTP responses with unknown request IDs. (CVE-2026-59848) Denial of service via automatic certificate authentication loop. (CVE-2026-59849) Use-after-free via data callbacks on closed channels. (CVE-2026-59850)

Record
MGASA-2026-0425
Updated
2026-11-02
OSVopenSUSE-SU-2026:11377-1 No score

libssh-config-0.11.5-1.1 on GA media

These are all security issues fixed in the libssh-config-0.11.5-1.1 package on the GA media of openSUSE Tumbleweed.

Record
openSUSE-SU-2026:11377-1
Updated
2026-11-02
OSVopenSUSE-SU-2026:21444-1 No score

Security update for libssh

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)
Record
openSUSE-SU-2026:21444-1
Updated
2026-11-02
OSVSUSE-SU-2026:22940-1 No score

Security update for libssh

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)
Record
SUSE-SU-2026:22940-1
Updated
2026-11-02
OSVSUSE-SU-2026:22948-1 No score

Security update for libssh

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)
Record
SUSE-SU-2026:22948-1
Updated
2026-11-02
OSVSUSE-SU-2026:22956-1 No score

Security update for libssh

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)
Record
SUSE-SU-2026:22956-1
Updated
2026-11-02
OSVSUSE-SU-2026:23056-1 No score

Security update for libssh

This update for libssh fixes the following issues:

  • CVE-2026-3731: denial of Service via out-of-bounds read in SFTP extension name handler (bsc#1259377).
  • 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-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Record
SUSE-SU-2026:23056-1
Updated
2026-11-02
OSVSUSE-SU-2026:23168-1 No score

Security update for libssh

This update for libssh fixes the following issues

  • 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-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Record
SUSE-SU-2026:23168-1
Updated
2026-11-02
OSVSUSE-SU-2026:3302-1 No score

Security update for libssh

This update for libssh fixes the following issues

  • CVE-2026-3731: denial of service via out-of-bounds read in SFTP extension name handler (bsc#1259377).
  • 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-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Record
SUSE-SU-2026:3302-1
Updated
2026-11-02
OSVSUSE-SU-2026:3330-1 No score

Security update for libssh

This update for libssh fixes the following issues:

  • 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-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Record
SUSE-SU-2026:3330-1
Updated
2026-11-02
OSVSUSE-SU-2026:3463-1 No score

Security update for libssh

This update for libssh fixes the following issues:

  • 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-59850: use-after-free via data callbacks on closed channels (bsc#1272171).
Record
SUSE-SU-2026:3463-1
Updated
2026-11-02
OSVUSN-8699-1 No score

libssh vulnerabilities

It was discovered that libssh had a stack buffer overflow in its SFTP server when constructing directory listing entries for long filenames. An attacker could possibly use this issue to cause libssh to crash or execute arbitrary code. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-15370)

It was discovered that libssh did not correctly handle SSH channel open messages advertising a zero maximum packet size. An authenticated remote attacker could possibly use this issue to cause libssh to consume excessive CPU resources, leading to a denial of service. (CVE-2026-59843)

It was discovered that libssh did not correctly limit SFTP read request lengths in its server implementation. An authenticated remote attacker could possibly use this issue to cause libssh to allocate excessive memory, leading to a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-59844)

It was discovered that libssh did not correctly handle ProxyCommand fork() failures. A local attacker could possibly use this issue to cause a denial of service. (CVE-2026-59845)

It was discovered that libssh did not correctly sanitize shell metacharacters when expanding usernames in ProxyCommand strings. An attacker could possibly use this issue to obtain sensitive information. (CVE-2026-59846)

It was discovered that libssh had incorrect AES-GCM tag verification when built with the OpenSSL backend. A machine-in-the-middle attacker could possibly use this issue to modify encrypted traffic without detection. (CVE-2026-59847)

It was discovered that libssh did not correctly handle SFTP server responses for unknown request IDs. An attacker could possibly use this issue to cause libssh to use excessive memory, leading to a denial of service. (CVE-2026-59848)

It was discovered that libssh had logic errors in certificate-based authentication that could cause clients to loop indefinitely when certificates were rejected. An attacker could possibly use this issue to cause a denial of service. This issue only affected Ubuntu 26.04 LTS. (CVE-2026-59849)

It was discovered that libssh could invoke data callbacks on channels after they had been closed. An attacker could possibly use this issue to cause libssh to crash or execute arbitrary code. (CVE-2026-59850)

Record
USN-8699-1
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libssh
Alpine:v3.24
before 0.12.1-r0
0.12.1-r0
libssh
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh-config
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh-devel
AlmaLinux:10
From an advisory covering 11 CVEs
before 0.12.0-3.el10_2
0.12.0-3.el10_2
libssh
AlmaLinux:9
From an advisory covering 7 CVEs
before 0.10.4-19.el9_8
0.10.4-19.el9_8
libssh-config
AlmaLinux:9
From an advisory covering 7 CVEs
before 0.10.4-19.el9_8
0.10.4-19.el9_8
libssh-devel
AlmaLinux:9
From an advisory covering 7 CVEs
before 0.10.4-19.el9_8
0.10.4-19.el9_8
libssh
AlmaLinux:8
From an advisory covering 7 CVEs
before 0.9.6-17.el8_10
0.9.6-17.el8_10
libssh-config
AlmaLinux:8
From an advisory covering 7 CVEs
before 0.9.6-17.el8_10
0.9.6-17.el8_10
libssh-devel
AlmaLinux:8
From an advisory covering 7 CVEs
before 0.9.6-17.el8_10
0.9.6-17.el8_10
Show 68 moreShow less
Affected packages
PackageAffectedFixed
libssh
Alpaquita:23
0.10.4-r0 up to 0.11.5-r0
0.11.5-r0
libssh
Alpaquita:25
0.11.1-r0 up to 0.11.5-r0
0.11.5-r0
libssh
Alpaquita:stream
0.9.6-r1 up to 0.12.1-r0
0.12.1-r0
libssh
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 0.10.4-8.el9_2.tuxcare.els15
0.10.4-8.el9_2.tuxcare.els15
libssh-config
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 0.10.4-8.el9_2.tuxcare.els15
0.10.4-8.el9_2.tuxcare.els15
libssh-devel
TuxCare:AlmaLinux:9.2
From an advisory covering 2 CVEs
before 0.10.4-8.el9_2.tuxcare.els15
0.10.4-8.el9_2.tuxcare.els15
libssh
Debian:12
before 0.10.6-0+deb12u3, plus listed versions
0.10.5-20.10.5-30.10.5-3+hurd.10.10.6-0+deb12u10.10.6-0+deb12u2
0.10.6-0+deb12u3
libssh
Debian:13
before 0.11.5-0+deb13u1, plus listed versions
0.11.2-10.11.2-1+deb13u10.11.3-1
0.11.5-0+deb13u1
libssh
Debian:14
before 0.12.1-1, plus listed versions
0.11.2-10.11.3-10.12.0-10.12.0-20.12.0-3
0.12.1-1
libssh
Mageia:10
From an advisory covering 9 CVEs
before 0.11.5-1.mga10
0.11.5-1.mga10
libssh
Mageia:9
From an advisory covering 9 CVEs
before 0.10.6-1.3.mga9
0.10.6-1.3.mga9
libssh
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-config
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-devel
Red Hat:hummingbird:1
From an advisory covering 10 CVEs
before 0:0.12.1-4.hum1
0:0.12.1-4.hum1
libssh-debuginfo
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-debugsource
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-devel
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-config
Red Hat:enterprise_linux:10.2
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh-debuginfo
Red Hat:enterprise_linux:9::appstream
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-debugsource
Red Hat:enterprise_linux:9::appstream
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-devel
Red Hat:enterprise_linux:9::appstream
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh
Red Hat:enterprise_linux:9::baseos
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-config
Red Hat:enterprise_linux:9::baseos
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-debuginfo
Red Hat:enterprise_linux:9::baseos
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-debugsource
Red Hat:enterprise_linux:9::baseos
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh-debuginfo
Red Hat:enterprise_linux:8::appstream
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh-debugsource
Red Hat:enterprise_linux:8::appstream
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh-devel
Red Hat:enterprise_linux:8::appstream
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh
Red Hat:enterprise_linux:8::baseos
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh-config
Red Hat:enterprise_linux:8::baseos
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh-debuginfo
Red Hat:enterprise_linux:8::baseos
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh-debugsource
Red Hat:enterprise_linux:8::baseos
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh
Rocky Linux:10
From an advisory covering 11 CVEs
before 0:0.12.0-3.el10_2
0:0.12.0-3.el10_2
libssh
Rocky Linux:9
From an advisory covering 7 CVEs
before 0:0.10.4-19.el9_8
0:0.10.4-19.el9_8
libssh
Rocky Linux:8
From an advisory covering 7 CVEs
before 0:0.9.6-17.el8_10
0:0.9.6-17.el8_10
libssh
SUSE:Linux Micro 6.2
From an advisory covering 9 CVEs
before 0.11.5-160000.1.1
0.11.5-160000.1.1
libssh
SUSE:Linux Enterprise Server 16.0
From an advisory covering 9 CVEs
before 0.11.5-160000.1.1
0.11.5-160000.1.1
libssh
SUSE:Linux Enterprise Server for SAP applications 16.0
From an advisory covering 9 CVEs
before 0.11.5-160000.1.1
0.11.5-160000.1.1
libssh
SUSE:Linux Micro 6.0
From an advisory covering 8 CVEs
before 0.10.6-5.1
0.10.6-5.1
libssh
SUSE:Linux Micro 6.1
From an advisory covering 7 CVEs
before 0.10.6-slfo.1.1_6.1
0.10.6-slfo.1.1_6.1
libssh
SUSE:Linux Enterprise Server 12 SP5-LTSS
From an advisory covering 8 CVEs
before 0.9.8-3.24.1
0.9.8-3.24.1
libssh
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 8 CVEs
before 0.9.8-3.24.1
0.9.8-3.24.1
libssh
SUSE:Linux Enterprise Module for Basesystem 15 SP7
From an advisory covering 7 CVEs
before 0.9.8-150600.11.15.1
0.9.8-150600.11.15.1
libssh
SUSE:Linux Enterprise Server 15 SP6-LTSS
From an advisory covering 7 CVEs
before 0.9.8-150600.11.15.1
0.9.8-150600.11.15.1
libssh
SUSE:Linux Enterprise Server for SAP Applications 15 SP6
From an advisory covering 7 CVEs
before 0.9.8-150600.11.15.1
0.9.8-150600.11.15.1
libssh
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise High Performance Computing 15 SP5-LTSS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Server 15 SP4-LTSS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Server 15 SP5-LTSS
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Server for SAP Applications 15 SP4
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
SUSE:Linux Enterprise Server for SAP Applications 15 SP5
From an advisory covering 7 CVEs
before 0.9.8-150400.3.20.1
0.9.8-150400.3.20.1
libssh
Ubuntu:Pro:16.04:LTS
All versions, plus listed versions
0.6.3-3ubuntu30.6.3-4.10.6.3-4.20.6.3-4.2ubuntu10.6.3-4.3
Show 9 moreShow less
0.6.3-4.3ubuntu0.10.6.3-4.3ubuntu0.20.6.3-4.3ubuntu0.50.6.3-4.3ubuntu0.60.6.3-4.3ubuntu0.6+esm10.6.3-4.3ubuntu0.6+esm20.6.3-4.3ubuntu0.6+esm30.6.3-4.3ubuntu0.6+esm40.6.3-4.3ubuntu0.6+esm5
None known
libssh
Ubuntu:Pro:18.04:LTS
All versions, plus listed versions
0.7.5-10.8.0~20170825.94fa1e38-10.8.0~20170825.94fa1e38-1build10.8.0~20170825.94fa1e38-1ubuntu0.10.8.0~20170825.94fa1e38-1ubuntu0.2
Show 8 moreShow less
0.8.0~20170825.94fa1e38-1ubuntu0.50.8.0~20170825.94fa1e38-1ubuntu0.60.8.0~20170825.94fa1e38-1ubuntu0.70.8.0~20170825.94fa1e38-1ubuntu0.7+esm30.8.0~20170825.94fa1e38-1ubuntu0.7+esm40.8.0~20170825.94fa1e38-1ubuntu0.7+esm50.8.0~20170825.94fa1e38-1ubuntu0.7+esm60.8.0~20170825.94fa1e38-1ubuntu0.7+esm7
None known
libssh
Ubuntu:Pro:20.04:LTS
All versions, plus listed versions
0.9.0-1ubuntu10.9.0-1ubuntu40.9.0-1ubuntu50.9.3-2ubuntu10.9.3-2ubuntu2
Show 9 moreShow less
0.9.3-2ubuntu2.10.9.3-2ubuntu2.20.9.3-2ubuntu2.30.9.3-2ubuntu2.40.9.3-2ubuntu2.50.9.3-2ubuntu2.5+esm10.9.3-2ubuntu2.5+esm20.9.3-2ubuntu2.5+esm30.9.3-2ubuntu2.5+esm4
None known
libssh
Ubuntu:22.04:LTS
before 0.9.6-2ubuntu0.22.04.8, plus listed versions
0.9.6-10.9.6-1build10.9.6-20.9.6-2build10.9.6-2ubuntu0.22.04.1
Show 6 moreShow less
0.9.6-2ubuntu0.22.04.20.9.6-2ubuntu0.22.04.30.9.6-2ubuntu0.22.04.40.9.6-2ubuntu0.22.04.50.9.6-2ubuntu0.22.04.60.9.6-2ubuntu0.22.04.7
0.9.6-2ubuntu0.22.04.8
libssh
Ubuntu:24.04:LTS
before 0.10.6-2ubuntu0.5, plus listed versions
0.10.5-3ubuntu10.10.5-3ubuntu20.10.6-20.10.6-2build10.10.6-2build2
Show 4 moreShow less
0.10.6-2ubuntu0.10.10.6-2ubuntu0.20.10.6-2ubuntu0.30.10.6-2ubuntu0.4
0.10.6-2ubuntu0.5
libssh
Ubuntu:26.04:LTS
before 0.11.3-1ubuntu2.1, plus listed versions
0.11.2-1build10.11.3-10.11.3-1ubuntu10.11.3-1ubuntu2
0.11.3-1ubuntu2.1
libssh
Ubuntu:22.04:LTS
From an advisory covering 9 CVEs
before 0.9.6-2ubuntu0.22.04.8, plus listed versions
0.9.6-10.9.6-1build10.9.6-20.9.6-2build10.9.6-2ubuntu0.22.04.1
Show 6 moreShow less
0.9.6-2ubuntu0.22.04.20.9.6-2ubuntu0.22.04.30.9.6-2ubuntu0.22.04.40.9.6-2ubuntu0.22.04.50.9.6-2ubuntu0.22.04.60.9.6-2ubuntu0.22.04.7
0.9.6-2ubuntu0.22.04.8
libssh
Ubuntu:24.04:LTS
From an advisory covering 9 CVEs
before 0.10.6-2ubuntu0.5, plus listed versions
0.10.5-3ubuntu10.10.5-3ubuntu20.10.6-20.10.6-2build10.10.6-2build2
Show 4 moreShow less
0.10.6-2ubuntu0.10.10.6-2ubuntu0.20.10.6-2ubuntu0.30.10.6-2ubuntu0.4
0.10.6-2ubuntu0.5
libssh
Ubuntu:26.04:LTS
From an advisory covering 9 CVEs
before 0.11.3-1ubuntu2.1, plus listed versions
0.11.2-1build10.11.3-10.11.3-1ubuntu10.11.3-1ubuntu2
0.11.3-1ubuntu2.1
libssh
openSUSE:Tumbleweed
From an advisory covering 9 CVEs
before 0.11.5-1.2
0.11.5-1.2
libssh
openSUSE:Leap 16.0
From an advisory covering 9 CVEs
before 0.11.5-160000.1.1
0.11.5-160000.1.1

History

History
RecordedChangedSources
affected, facts
affected, aliases, referencesOSV
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

In short

CVE-2026-59846 is a low vulnerability (CVSS 3.9) in Libssh, published July 21, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.12%, the 1st percentile. Fixed in libssh 0.12.1-r0.

References

Show 117 moreShow less
MoveEnter Open