CVE-2026-3731
libssh: libssh: Denial of Service via out-of-bounds read in SFTP extension name handler
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 8, 2026
Updated · September 1, 2026
Description
A flaw was found in libssh. A remote attacker could trigger an out-of-bounds read vulnerability in the SFTP Extension Name Handler by manipulating the idx argument in the sftp_extensions_get_name or sftp_extensions_get_data functions. This could lead to a Denial of Service (DoS), making the affected system unresponsive.
Statement
A MODERATE impact out-of-bounds read vulnerability exists in libssh's SFTP extension. A remote attacker could exploit this flaw by manipulating an argument to the sftp_extensions_get_name/sftp_extensions_get_data functions, potentially leading to a denial of service or information disclosure. This affects Red Hat Enterprise Linux versions utilizing libssh.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
CVSS / CWE
CVSS 3.1 · 5.3CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
CWE-125 · Out-of-bounds Read