CVE-2026-3731

MEDIUM EPSS 45.7%
Published Mar 8, 20263mo ago · Modified Jun 17, 20261w ago
6.9 CVSS 4.0
Medium
Find Similar
Published Mar 8, 2026 3mo ago
Last Modified Jun 17, 2026 1w ago

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.

CVSS Details

Base Score
6.9
Exploitability
Impact
Vector string
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/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
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
45.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 2

CWE-119 Improper Restriction of Operations within the Bounds of a Memory Buffer Memory Safety
CWE-125 Out-of-bounds Read Memory Safety

Affected Products 1

VendorProductVersionRange
libsshlibssh* ≤0.11.3

References 6

  • gitlab.com https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60
    Patch
  • vuldb.com https://vuldb.com/?ctiid.349709
    Permissions RequiredVDB Entry
  • vuldb.com https://vuldb.com/?id.349709
    Third Party AdvisoryVDB Entry
  • vuldb.com https://vuldb.com/?submit.767120
    Third Party AdvisoryVDB Entry
  • libssh.org https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz
    PatchThird Party Advisory
  • libssh.org https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt
    Product

Remediation

  • gitlab.com https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60
    Patch
  • libssh.org https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz
    PatchThird Party Advisory