Every CVE Search/ Get API key

CVE-2026-3731

libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

6.9 MediumFix available

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Attack profile

How easy it is to exploit

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

What an attacker can affect

Confidentiality
None
Integrity
None
Availability
Low

Exploit likelihood

0.72%Up 0.7 points since Mar 8, 2026
90%50%10%1%

What each source reports

CVE List Score used 6.9

libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
CVE-2026-3731
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
CVSS 3.0
5.3 MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C
CVSS 2.0
5.0 AV:N/AC:L/Au:N/C:N/I:N/A:P/E:ND/RL:OF/RC:C
Weakness
CWE-125, CWE-119
Updated
2026-11-02
EUVDEUVD-2026-10234 6.9

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
EUVD-2026-10234
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
Updated
2026-11-02
GitHub AdvisoriesGHSA-wg5h-wgv3-pgqh 6.9

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function...

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
GHSA-wg5h-wgv3-pgqh
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Weakness
CWE-119
Updated
2026-11-02
NVD 6.9

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
CVE-2026-3731
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
Weakness
CWE-119, CWE-125
Updated
2026-11-02
OSVBELL-CVE-2026-3731 7.5
Record
BELL-CVE-2026-3731
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSV 6.9

libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
CVE-2026-3731
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X
Weakness
CWE-119, CWE-125
Updated
2026-11-02
Show 30 moreShow less
OSVDEBIAN-CVE-2026-3731 7.5

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
DEBIAN-CVE-2026-3731
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVJLSEC-2026-784 6.9

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
JLSEC-2026-784
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVSS 2.0
5.0 MediumAV:N/AC:L/Au:N/C:N/I:N/A:P
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVOESA-2026-1560 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

(CVE-2026-0964)

(CVE-2026-0965)

(CVE-2026-0966)

(CVE-2026-0967)

(CVE-2026-0968)

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1560
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1652 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1652
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1653 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1653
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1654 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1654
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1655 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1655
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVOESA-2026-1656 9.8

libssh security update

The ssh library was designed to be used by programmers needing a working SSH implementation by the mean of a library. The complete control of the client is made by the programmer. With libssh, you can remotely execute programs, transfer files, use a secure and transparent tunnel for your remote programs. With its Secure FTP implementation, you can play with remote files easily, without third-party programs others than libcrypto (from openssl).

Security Fix(es):

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.(CVE-2026-3731)

Record
OESA-2026-1656
CVSS 3.1
9.8 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVRHSA-2026:7067 7.8

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

Record
RHSA-2026:7067
CVSS 3.1
7.8 HighCVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Updated
2026-11-02
OSVROOT-OS-UBUNTU-2404-CVE-2026-3731 7.5

CVE-2026-3731 in rootio-libssh - Patched by Root

Root has patched CVE-2026-3731 in the rootio-libssh package for Root:Ubuntu:24.04. Multiple fixed versions available.

Record
ROOT-OS-UBUNTU-2404-CVE-2026-3731
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Updated
2026-11-02
OSVUBUNTU-CVE-2026-3731 6.9

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
UBUNTU-CVE-2026-3731
CVSS 4.0
6.9 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
CVSS 3.1
7.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Updated
2026-11-02
OSVAZL-79544 No score

CVE-2026-3731 affecting package libssh 0.10.6-5

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
AZL-79544
Updated
2026-11-02
OSVAZL-79547 No score

CVE-2026-3731 affecting package libssh for versions less than 0.10.6-6

A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.

Record
AZL-79547
Updated
2026-11-05
OSVCLSA-2026-1773830791 No score

libssh: Fix of CVE-2026-3731

  • CVE-2026-3731: fix out-of-bounds read in sftp_extensions_get_name and sftp_extensions_get_data when idx equals the extension count
Record
CLSA-2026-1773830791
Updated
2026-11-02
OSVCLSA-2026-1773929316 No score

Fix CVE(s): CVE-2026-3731

  • SECURITY UPDATE: remote out-of-bounds read in SFTP extension name handler
    • debian/patches/CVE-2026-3731.patch: Fix out-of-bound read from sftp extensions; correct index comparison from '>' to '>=' and prevent access past extension count.
    • CVE-2026-3731
Record
CLSA-2026-1773929316
Updated
2026-11-02
OSVCLSA-2026-1773930007 No score

Fix CVE(s): CVE-2026-3731

  • SECURITY UPDATE: out-of-bounds read from manipulated SFTP extension index
    • debian/patches/CVE-2026-3731.patch: Fix out-of-bound read in sftp extensions by replacing '>' with '>=' in index checks; cause: off-by-one error in index comparison allowing idx equal count.
    • CVE-2026-3731
Record
CLSA-2026-1773930007
Updated
2026-11-02
OSVCLSA-2026-1773930993 No score

libssh: Fix of CVE-2026-3731

  • CVE-2026-3731: fix off-by-one in sftp_extensions_get_name/sftp_extensions_get_data
Record
CLSA-2026-1773930993
Updated
2026-11-02
OSVCLSA-2026-1773931583 No score

libssh: Fix of CVE-2026-3731

  • CVE-2026-3731: fix off-by-one in sftp_extensions_get_name/sftp_extensions_get_data
Record
CLSA-2026-1773931583
Updated
2026-11-02
OSVCLSA-2026-1773932358 No score

libssh: Fix of CVE-2026-3731

  • Fix CVE-2026-3731: out-of-bounds read in SFTP extension name handler
Record
CLSA-2026-1773932358
Updated
2026-11-02
OSVCLSA-2026-1774007374 No score

libssh: Fix of CVE-2026-3731

  • CVE-2026-3731: Validate idx and add bounds checks; prevent out-of-bounds read in SFTP Extension Name Handler via manipulated idx.
Record
CLSA-2026-1774007374
Updated
2026-11-02
OSVCLSA-2026-1774007526 No score

Fix CVE(s): CVE-2026-3731

  • SECURITY UPDATE: out-of-bounds read in sftp extension name handler
    • debian/patches/CVE-2026-3731.patch: fix off-by-one bounds check in sftp_extensions_get_name and sftp_extensions_get_data
    • CVE-2026-3731
Record
CLSA-2026-1774007526
Updated
2026-11-02
OSVSUSE-SU-2026:0936-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).
Record
SUSE-SU-2026:0936-1
Updated
2026-11-02
OSVSUSE-SU-2026:1310-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).
Record
SUSE-SU-2026:1310-1
Updated
2026-11-02
OSVSUSE-SU-2026:1344-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-0964: SCP protocol path traversal in ssh_scp_pull_request() (bsc#1258049).
  • CVE-2026-0965: possible denial of service when parsing unexpected configuration files (bsc#1258045).
  • CVE-2026-0966: buffer underflow in ssh_get_hexa() on invalid input (bsc#1258054).
  • CVE-2026-0967: specially crafted patterns could cause a denial of service (bsc#1258081).
  • CVE-2026-0968: out-of-bounds read in sftp_parse_longname() (bsc#1258080).
Record
SUSE-SU-2026:1344-1
Updated
2026-11-02
OSVSUSE-SU-2026:1565-1 No score

Security update for libssh

This update for libssh fixes the following issues:

  • CVE-2026-0964: improper sanitation of paths received from SCP servers can cause path traversal (bsc#1258049).
  • CVE-2026-0965: possible denial of service when parsing unexpected configuration files (bsc#1258045).
  • CVE-2026-0966: buffer underflow in ssh_get_hexa() on invalid input (bsc#1258054).
  • CVE-2026-0967: specially crafted patterns could cause denial of service (bsc#1258081).
  • CVE-2026-0968: malformed SFTP message can lead to out of bound read (bsc#1258080).
  • CVE-2026-3731: denial of service via out-of-bounds read in SFTP extension name handler (bsc#1259377).
Record
SUSE-SU-2026:1565-1
Updated
2026-11-02
OSVSUSE-SU-2026:20767-1 No score

Security update for libssh

This update for libssh fixes the following issue:

  • CVE-2026-3731: Denial of Service via out-of-bounds read in SFTP extension name handler (bsc#1259377).
Record
SUSE-SU-2026:20767-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: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
OSVUSN-8093-1 No score

libssh vulnerability

It was discovered that libssh incorrectly performed bounds checking when processing SFTP extensions. If a client application queried extension data out of bounds, it could cause the application to crash, resulting in a denial of service, or exhibit unintended behavior.

Record
USN-8093-1
Updated
2026-11-02
OSVUSN-8093-2 No score

libssh vulnerability

USN-8093-1 fixed a vulnerability in libssh. This update provides the corresponsing fix for Ubuntu 26.04 LTS.

Original advisory details:

It was discovered that libssh incorrectly performed bounds checking when processing SFTP extensions. If a client application queried extension data out of bounds, it could cause the application to crash, resulting in a denial of service, or exhibit unintended behavior.

Record
USN-8093-2
Updated
2026-11-02

Affected products

Affected packages

Affected packages
PackageAffectedFixed
libssh
Azure Linux:2
through 0.10.6-5 None known
libssh
Azure Linux:3
before 0.10.6-6
0.10.6-6
libssh
Alpaquita:23
0.10.4-r0 up to 0.11.4-r0
0.11.4-r0
libssh
Alpaquita:25
0.11.1-r0 up to 0.11.4-r0
0.11.4-r0
libssh
Alpaquita:stream
0.9.6-r1 up to 0.11.4-r0
0.11.4-r0
libssh
TuxCare:AlmaLinux:9.2
before 0.10.4-8.el9.tuxcare.els7
0.10.4-8.el9.tuxcare.els7
libssh-config
TuxCare:AlmaLinux:9.2
before 0.10.4-8.el9.tuxcare.els7
0.10.4-8.el9.tuxcare.els7
libssh-devel
TuxCare:AlmaLinux:9.2
before 0.10.4-8.el9.tuxcare.els7
0.10.4-8.el9.tuxcare.els7
libssh-4
TuxCare:Ubuntu:16.04
before 0.6.3-4.3ubuntu0.6+tuxcare.els3
0.6.3-4.3ubuntu0.6+tuxcare.els3
libssh-dev
TuxCare:Ubuntu:16.04
before 0.6.3-4.3ubuntu0.6+tuxcare.els3
0.6.3-4.3ubuntu0.6+tuxcare.els3
Show 56 moreShow less
Affected packages
PackageAffectedFixed
libssh-doc
TuxCare:Ubuntu:16.04
before 0.6.3-4.3ubuntu0.6+tuxcare.els3
0.6.3-4.3ubuntu0.6+tuxcare.els3
libssh-gcrypt-4
TuxCare:Ubuntu:16.04
before 0.6.3-4.3ubuntu0.6+tuxcare.els3
0.6.3-4.3ubuntu0.6+tuxcare.els3
libssh-gcrypt-dev
TuxCare:Ubuntu:16.04
before 0.6.3-4.3ubuntu0.6+tuxcare.els3
0.6.3-4.3ubuntu0.6+tuxcare.els3
libssh-4
TuxCare:Ubuntu:18.04
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
libssh-dev
TuxCare:Ubuntu:18.04
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
libssh-doc
TuxCare:Ubuntu:18.04
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
libssh-gcrypt-4
TuxCare:Ubuntu:18.04
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
libssh-gcrypt-dev
TuxCare:Ubuntu:18.04
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
0.8.0~20170825.94fa1e38-1ubuntu0.7+tuxcare.els3
libssh
TuxCare:CentOS:8.4
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh-config
TuxCare:CentOS:8.4
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh-devel
TuxCare:CentOS:8.4
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh
TuxCare:CentOS:8.5
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh-config
TuxCare:CentOS:8.5
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh-devel
TuxCare:CentOS:8.5
before 0.9.4-3.el8.tuxcare.els7
0.9.4-3.el8.tuxcare.els7
libssh
TuxCare:AlmaLinux:9.6
before 0.10.4-15.el9_6.tuxcare.els3
0.10.4-15.el9_6.tuxcare.els3
libssh-config
TuxCare:AlmaLinux:9.6
before 0.10.4-15.el9_6.tuxcare.els3
0.10.4-15.el9_6.tuxcare.els3
libssh-devel
TuxCare:AlmaLinux:9.6
before 0.10.4-15.el9_6.tuxcare.els3
0.10.4-15.el9_6.tuxcare.els3
libssh
TuxCare:CentOS-Stream:8
before 0.9.6-14.el8.tuxcare.els3
0.9.6-14.el8.tuxcare.els3
libssh-config
TuxCare:CentOS-Stream:8
before 0.9.6-14.el8.tuxcare.els3
0.9.6-14.el8.tuxcare.els3
libssh-devel
TuxCare:CentOS-Stream:8
before 0.9.6-14.el8.tuxcare.els3
0.9.6-14.el8.tuxcare.els3
libssh-4
TuxCare:Ubuntu:20.04
before 0.9.3-2ubuntu2.5+tuxcare.els3
0.9.3-2ubuntu2.5+tuxcare.els3
libssh-dev
TuxCare:Ubuntu:20.04
before 0.9.3-2ubuntu2.5+tuxcare.els3
0.9.3-2ubuntu2.5+tuxcare.els3
libssh-doc
TuxCare:Ubuntu:20.04
before 0.9.3-2ubuntu2.5+tuxcare.els3
0.9.3-2ubuntu2.5+tuxcare.els3
libssh-gcrypt-4
TuxCare:Ubuntu:20.04
before 0.9.3-2ubuntu2.5+tuxcare.els3
0.9.3-2ubuntu2.5+tuxcare.els3
libssh-gcrypt-dev
TuxCare:Ubuntu:20.04
before 0.9.3-2ubuntu2.5+tuxcare.els3
0.9.3-2ubuntu2.5+tuxcare.els3
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.0-1, plus listed versions
0.11.2-10.11.3-1
0.12.0-1
libssh_jll
Julia
before 0.11.4+0
0.11.4+0
libssh
openEuler:24.03-LTS-SP3
From an advisory covering 6 CVEs
before 0.10.5-10.oe2403sp3
0.10.5-10.oe2403sp3
libssh
openEuler:24.03-LTS-SP2
before 0.10.5-10.oe2403sp2
0.10.5-10.oe2403sp2
libssh
openEuler:20.03-LTS-SP4
before 0.9.4-16.oe2003sp4
0.9.4-16.oe2003sp4
libssh
openEuler:22.03-LTS-SP4
before 0.9.6-16.oe2203sp4
0.9.6-16.oe2203sp4
libssh
openEuler:24.03-LTS
before 0.10.5-10.oe2403
0.10.5-10.oe2403
libssh
openEuler:24.03-LTS-SP1
before 0.10.5-10.oe2403sp1
0.10.5-10.oe2403sp1
libssh
Red Hat:hummingbird:1
From an advisory covering 3 CVEs
before 0:0.12.0-1.1.hum1
0:0.12.0-1.1.hum1
libssh-config
Red Hat:hummingbird:1
From an advisory covering 3 CVEs
before 0:0.12.0-1.1.hum1
0:0.12.0-1.1.hum1
libssh-devel
Red Hat:hummingbird:1
From an advisory covering 3 CVEs
before 0:0.12.0-1.1.hum1
0:0.12.0-1.1.hum1
libssh
SUSE:Linux Enterprise Micro 5.2
before 0.9.8-150200.13.18.1
0.9.8-150200.13.18.1
libssh
SUSE:Linux Enterprise Module for Basesystem 15 SP7
before 0.9.8-150600.11.12.1
0.9.8-150600.11.12.1
libssh
openSUSE:Leap 15.6
before 0.9.8-150600.11.12.1
0.9.8-150600.11.12.1
libssh
SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5
From an advisory covering 6 CVEs
before 0.6.3-12.28.1
0.6.3-12.28.1
libssh
SUSE:Linux Enterprise Micro 5.3
From an advisory covering 6 CVEs
before 0.9.8-150400.3.17.1
0.9.8-150400.3.17.1
libssh
SUSE:Linux Enterprise Micro 5.4
From an advisory covering 6 CVEs
before 0.9.8-150400.3.17.1
0.9.8-150400.3.17.1
libssh
SUSE:Linux Enterprise Micro 5.5
From an advisory covering 6 CVEs
before 0.9.8-150400.3.17.1
0.9.8-150400.3.17.1
libssh
SUSE:Linux Micro 6.1
before 0.10.6-slfo.1.1_5.1
0.10.6-slfo.1.1_5.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 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
Ubuntu:Pro:16.04:LTS
before 0.6.3-4.3ubuntu0.6+esm5, plus listed versions
0.6.3-3ubuntu30.6.3-4.10.6.3-4.20.6.3-4.2ubuntu10.6.3-4.3
Show 8 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+esm4
0.6.3-4.3ubuntu0.6+esm5
libssh
Ubuntu:Pro:18.04:LTS
before 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7, 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 7 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+esm6
0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7
libssh
Ubuntu:Pro:20.04:LTS
before 0.9.3-2ubuntu2.5+esm4, plus listed versions
0.9.0-1ubuntu10.9.0-1ubuntu40.9.0-1ubuntu50.9.3-2ubuntu10.9.3-2ubuntu2
Show 8 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+esm3
0.9.3-2ubuntu2.5+esm4
libssh
Ubuntu:22.04:LTS
before 0.9.6-2ubuntu0.22.04.7, plus listed versions
0.9.6-10.9.6-1build10.9.6-20.9.6-2build10.9.6-2ubuntu0.22.04.1
Show 5 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.6
0.9.6-2ubuntu0.22.04.7
libssh
Ubuntu:24.04:LTS
before 0.10.6-2ubuntu0.4, plus listed versions
0.10.5-3ubuntu10.10.5-3ubuntu20.10.6-20.10.6-2build10.10.6-2build20.10.6-2ubuntu0.10.10.6-2ubuntu0.20.10.6-2ubuntu0.3
0.10.6-2ubuntu0.4
libssh
Ubuntu:25.10
before 0.11.2-1ubuntu0.3, plus listed versions
0.11.1-10.11.1-20.11.2-10.11.2-1build10.11.2-1ubuntu0.10.11.2-1ubuntu0.2
0.11.2-1ubuntu0.3
libssh
Ubuntu:26.04:LTS
before 0.11.3-1ubuntu2, plus listed versions
0.11.2-1build10.11.3-10.11.3-1ubuntu1
0.11.3-1ubuntu2

History

History
RecordedChangedSources
affected
factsOSV
affected
first indexedCVE List, EUVD, GitHub Advisories, NVD, OSV

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

In short

CVE-2026-3731 is a medium vulnerability (CVSS 6.9) in Libssh, published March 8, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.72%, the 54th percentile. Fixed in libssh 0.10.6-6.

References

Show 75 moreShow less
MoveEnter Open