Skip to main content
VulnerabilityPublished Updated

CVE-2026-3731: libssh · Out-of-bounds Read

Affects libsshSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 6.9 Medium.

Data as of 30 Oct 2026, 11:52 UTC

CVSS 4.0 base score
6.9Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.6% chance of exploitation in 30 days – higher than 51% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
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

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 9 Mar 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
libsshAffected
  • 0.11.0 – 0.11.3
4 affected builds
Fixed in–
GitHublibssh/libsshpkg:github/libssh/libsshOther threatsAffected
  • 0.11.0 – 0.11.3
4 affected builds
Fixed in–

CPE configurations (1)

  • cpe:2.3:a:libssh:libssh:*:*:*:*:*:*:*:*

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

Organizations should immediately upgrade libssh to versions 0.11.4 or 0.12.0 to remediate this vulnerability. Beyond upgrading, administrators should audit their environments to identify all instances of libssh usage, including embedded devices and network appliances, to ensure comprehensive patching. Employ network-level protections such as firewall rules to restrict SSH/SFTP access to trusted IP ranges, reducing exposure to remote attacks. Monitoring and logging SSH/SFTP traffic for anomalous behavior may help detect exploitation attempts. For environments where immediate upgrading is not feasible, consider disabling or restricting SFTP extensions if possible, or deploying application-layer proxies that can filter malformed requests. Regularly review vendor advisories for updates or additional patches related to libssh. Finally, incorporate this vulnerability into vulnerability management and incident response plans to ensure timely detection and remediation.

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.

References

Community reviews

Loading reviews…