CVE-2026-3731CWE-119CWE-125

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

Medium · published March 8, 2026

CVSS v4.0
6.9
EPSS
1%
Percentile
68.0
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
6.9 · MEDIUM
Vector
CVSS: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
EPSS
0.01200 · 68.0th percentile
Weaknesses
CWE-119 · Improper Restriction of Operations within the Bounds of a Memory Buffer; CWE-125 · Out-of-bounds Read
Published
2026-03-08T10:32Z
EPSS history
Timeline
  • 08 MAR 10:32Z
    libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds
    cvelistv5