CVE-2026-3731

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

History

09 Mar 2026, 18:36

Type Values Removed Values Added
First Time Libssh
Libssh libssh
Summary
  • (es) Se ha identificado una debilidad en libssh hasta la versión 0.11.3. El elemento afectado es la función sftp_extensions_get_name/sftp_extensions_get_data del archivo src/sftp.c del componente Gestor de Nombres de Extensión SFTP. La ejecución de una manipulación del argumento idx puede llevar a una lectura fuera de límites. El ataque puede realizarse de forma remota. La actualización a las versiones 0.11.4 y 0.12.0 es suficiente para resolver este problema. Este parche se denomina 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. Debe actualizar el componente afectado.
CPE cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*
References () https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 - () https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 - Patch
References () https://vuldb.com/?ctiid.349709 - () https://vuldb.com/?ctiid.349709 - Permissions Required, VDB Entry
References () https://vuldb.com/?id.349709 - () https://vuldb.com/?id.349709 - Third Party Advisory, VDB Entry
References () https://vuldb.com/?submit.767120 - () https://vuldb.com/?submit.767120 - Third Party Advisory, VDB Entry
References () https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz - () https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz - Patch, Third Party Advisory
References () https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt - () https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt - Product

08 Mar 2026, 11:15

Type Values Removed Values Added
New CVE

Information

Published : 2026-03-08 11:15

Updated : 2026-03-12 19:02


NVD link : CVE-2026-3731

Mitre link : CVE-2026-3731

CVE.ORG link : CVE-2026-3731


JSON object : View

Products Affected

libssh

  • libssh
CWE
CWE-119

Improper Restriction of Operations within the Bounds of a Memory Buffer

CWE-125

Out-of-bounds Read