Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-3731 EUVD-2026-10234GHSA-wg5h-wgv3-pgqh

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

Published Mar 8, 2026 · Updated Mar 11, 2026 · Assigned by VulDB

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 products

VendorProductAffectedFixed
— libssh 0.11.0, 0.11.1, 0.11.2, 0.11.3 0.11.4

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 libssh 0.12.0-1 —
Debian 13 libssh 0.11.5-0+deb13u1 —
Debian 12 libssh 0.10.6-0+deb12u3 —
ReleasePackageFixed inAdvisory
Ubuntu 26.04 LTS libssh 0.11.3-1ubuntu2 USN-8093-2
Ubuntu 25.10 libssh 0.11.2-1ubuntu0.3 USN-8093-1
Ubuntu 24.04 LTS libssh 0.10.6-2ubuntu0.4 USN-8093-1
Ubuntu 22.04 LTS libssh 0.9.6-2ubuntu0.22.04.7 USN-8093-1
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 20.04 LTS libssh 0.9.3-2ubuntu2.5+esm4 USN-8093-1
Ubuntu Pro 18.04 LTS libssh 0.8.0~20170825.94fa1e38-1ubuntu0.7+esm7 USN-8093-1
Ubuntu Pro 16.04 LTS libssh 0.6.3-4.3ubuntu0.6+esm5 USN-8093-1
ReleasePackageFixed inAdvisory
Red Hat Hardened Images 1 libssh +2 0.12.0-1.1.hum1 RHSA-2026:7067
ReleasePackageFixed inAdvisory
SLES 15 SP7 libssh 0.9.8-150600.11.12.1 SUSE-SU-2026:1310-1
SLES 12 SP5 libssh 0.6.3-12.28.1 SUSE-SU-2026:3302-1, SUSE-SU-2026:1344-1
Show 6 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLE Micro 6.1 libssh 0.10.6-slfo.1.1_5.1 SUSE-SU-2026:20767-1
SLE Micro 6.0 libssh 0.10.6-5.1 SUSE-SU-2026:23056-1
SLE Micro 5.5 libssh 0.9.8-150400.3.17.1 SUSE-SU-2026:1565-1
SLE Micro 5.4 libssh 0.9.8-150400.3.17.1 SUSE-SU-2026:1565-1
SLE Micro 5.3 libssh 0.9.8-150400.3.17.1 SUSE-SU-2026:1565-1
SLE Micro 5.2 libssh 0.9.8-150200.13.18.1 SUSE-SU-2026:0936-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.6 libssh 0.9.8-150600.11.12.1 SUSE-SU-2026:1310-1

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2023 libssh +2 0.10.6-1.amzn2023.0.7 ALAS2023-2026-1759

Azure Linux

ReleasePackageFixed inAdvisory
Azure Linux 3 libssh 0.10.6-6 —
Azure Linux 2 (CBL-Mariner) libssh No fix yet —

Advisories 13

References