Vulnerability · Published Mar 8, 2026 · Assigned by VulDB

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

Medium 5.3

In plain English

A medium-severity out-of-bounds read in libssh. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.7% (higher than 54% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.3Medium
Exploit odds (30 days)0.7%top 45.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12libssh0.10.6-0+deb12u3DEBIAN-CVE-2026-3731
Debian:13libssh0.11.5-0+deb13u1DEBIAN-CVE-2026-3731
Debian:14libssh0.12.0-1DEBIAN-CVE-2026-3731
Ubuntu:22.04:LTSlibssh0.9.6-2ubuntu0.22.04.7USN-8093-1
Ubuntu:22.04:LTSlibssh0.9.6-2ubuntu0.22.04.7UBUNTU-CVE-2026-3731
Ubuntu:24.04:LTSlibssh0.10.6-2ubuntu0.4USN-8093-1
Ubuntu:24.04:LTSlibssh0.10.6-2ubuntu0.4UBUNTU-CVE-2026-3731
Ubuntu:25.10libssh0.11.2-1ubuntu0.3USN-8093-1
Ubuntu:25.10libssh0.11.2-1ubuntu0.3UBUNTU-CVE-2026-3731
Ubuntu:26.04:LTSlibssh0.11.3-1ubuntu2UBUNTU-CVE-2026-3731
Ubuntu:26.04:LTSlibssh0.11.3-1ubuntu2USN-8093-2

Affected products (as reported)

VendorProductVersions
n/a libssh 0.11.00.11.10.11.20.11.3

Weakness: CWE-125, CWE-119 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:X/RL:O/RC:C

References