Read the docs
TI-2026-03221 Aliases CVE-2026-3731GHSA-wg5h-wgv3-pgqh

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

Priority LOW 38CWE-119Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
—
Confidentiality · integrity · availability
None · None · Low
Fix status
Partial Red Hat: 1 fixed, 6 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and Red Hat.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00724 54th percentileScored 2026-11-07
Fix Partial libssh: 0.11.4, 0.12.0Red Hat: 1 advisoryRed Hat: 1 fixed, 6 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—libssh0.11.0; 0.11.1; 0.11.2; 0.11.30.11.4, 0.12.0Patch availableCNA
  • libssh Vendor— Affected 0.11.0; 0.11.1; 0.11.2; 0.11.3 Fixed in 0.11.4, 0.12.0 Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*up to 0.11.3Vulnerablelibssh
  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:* Versions up to 0.11.3 Vulnerable ·libssh

Remediation

  • Fix · CNA libssh Fixed in 0.11.4, 0.12.0

Red Hat 1 advisory

  • RHSA-2026:7067 Released 2026-04-08 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images libssh-0.12.0-1.1.hum1@aarch64, libssh-0.12.0-1.1.hum1@src, libssh-0.12.0-1.1.hum1@x86_64 +4

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 10AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 6AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 7AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 8AffectedNo fix yet: Fix deferred
Red Hat Enterprise Linux 9AffectedNo fix yet: Fix deferred
Red Hat OpenShift Container Platform 4AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:7067

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-3731
  2. 2026-10-03 Alias added: GHSA-wg5h-wgv3-pgqh

References

  • TI-2018-07745 Improper authentication in [UNKNOWN] libssh CVSS 3.0CRITICAL 9.1
  • TI-2023-26623 The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6… CVSS 3.1MEDIUM 5.9
  • TI-2012-03902 Multiple integer overflows in libssh before 0.5.3 allow remote attackers to cause a… CVSS 2.0HIGH 7.5
  • TI-2019-11093 OS command injection in Red Hat libssh CVSS 3.1HIGH 8.8
  • TI-2026-00732 Libssh: libssh: denial of service via zero-length input in ssh_get_hexa() CVSS 3.1HIGH 8.2
  • TI-2012-03900 Multiple buffer overflows in libssh before 0.5.3 allow remote attackers to cause a denial… CVSS 2.0HIGH 7.5
See all 44 →

Sources