Out-of-bounds Read Affecting libssh-debugsource package, versions <0:0.10.6-1.amzn2023.0.7


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.63% (46th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2023-LIBSSHDEBUGSOURCE-17289426
  • published10 Jun 2026
  • disclosed8 Mar 2026

Introduced: 8 Mar 2026

CVE-2026-3731  (opens in a new tab)
CWE-125  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2023 libssh-debugsource to version 0:0.10.6-1.amzn2023.0.7 or higher.
This issue was patched in ALAS2023-2026-1759.

NVD Description

Note: Versions mentioned in the description apply only to the upstream libssh-debugsource package and not the libssh-debugsource package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2023 relevant fixed versions and status.

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 Base Scores

version 3.1