Skip to main content

libssh EUVDEUVD-2026-46169

| CVE-2026-15370 HIGH
Stack-based Buffer Overflow (CWE-121)
2026-07-21 secalert@redhat.com GHSA-6j7f-8jjp-mm8c
7.3
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.3 HIGH
AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
vuln.today AI
8.8 HIGH

SFTP is network-reachable (AV:N) and needs an authenticated session able to create/list files (PR:L); the attacker drives the listing themselves so UI:N, with memory corruption yielding full C/I/A.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
6.7 MEDIUM
AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
Red Hat
6.7 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Updated
Jul 30, 2026 - 13:31 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Jul 30, 2026 - 13:22 vuln.today
cvss_changed
Severity Changed
Jul 30, 2026 - 13:22 NVD
MEDIUM HIGH
CVSS changed
Jul 30, 2026 - 13:22 NVD
6.7 (MEDIUM) 7.3 (HIGH)
Analysis Generated
Jul 21, 2026 - 09:31 vuln.today

DescriptionNVD

A flaw was found in libssh. During SFTP server directory listing, the longname field is constructed with unsafe concatenation into a fixed-size stack buffer. When a client causes the server to list attacker-controlled filenames, sufficiently long names can overflow that stack buffer and may lead to crashes or possible code execution on the server.

AnalysisAI

Stack-based buffer overflow in libssh's SFTP server allows a connected client to crash the server or potentially execute code by placing files with overlong names into a directory the server subsequently lists. The flaw lives in how libssh builds the SFTP 'longname' field, concatenating attacker-influenced filenames into a fixed-size stack buffer without adequate bounds checking. There is no public exploit identified at time of analysis and EPSS is very low (0.10%), but the memory-corruption nature (CWE-121) and libssh's broad deployment make it worth prioritized patching.

Technical ContextAI

libssh is a widely used C implementation of the SSH2 protocol providing both client and server (including SFTP subsystem) functionality, embedded in many applications and Linux distributions. The vulnerability is a CWE-121 stack-based buffer overflow triggered in the SFTP server's directory-listing path: SFTP responses include a human-readable 'longname' string (an ls -l style line combining permissions, owner, size and the filename). libssh constructs this line via unsafe concatenation into a fixed-size stack buffer, so a filename long enough to exceed the buffer overwrites adjacent stack memory. CPE data confirms the affected component is libssh itself (cpe:2.3:a:libssh:libssh) as shipped in Red Hat Enterprise Linux 10.0 (cpe:2.3:o:redhat:enterprise_linux:10.0) and Red Hat hardened images.

RemediationAI

Patch available per Red Hat advisory RHSA-2026:47768 (https://access.redhat.com/errata/RHSA-2026:47768); on RHEL 10 and Red Hat hardened images, update the libssh packages to the fixed build and restart or redeploy services that link the library, then confirm no statically linked copies remain unpatched. An exact upstream libssh release version is not provided in the source data and should be confirmed against the libssh project release notes before pinning. Where immediate patching is not possible, compensating controls include restricting SFTP write access so untrusted users cannot create arbitrary filenames (this blocks the injection vector but breaks legitimate uploads), enforcing filename-length limits at the application or chroot layer, and limiting network exposure of the SFTP service to trusted networks/VPN (reduces reachable attack surface at the cost of remote-access convenience). Ensure stack protections (canaries, FORTIFY_SOURCE) are enabled to reduce crashes to non-exploitable failures rather than code execution.

CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2014-6271 CRITICAL POC
9.8 Sep 24

GNU Bash through 4.3 processes trailing strings after function definitions in the values of environment variables, which

CVE-2021-40438 CRITICAL POC
9.0 Sep 16

A crafted request uri-path can cause mod_proxy to forward the request to an origin server choosen by the remote user.4.4

CVE-2014-7169 CRITICAL POC
9.8 Sep 25

GNU Bash through 4.3 bash43-025 processes trailing strings after certain malformed function definitions in the values of

CVE-2023-44487 HIGH POC
7.5 Oct 10

Denial of service against HTTP/2 server implementations allows remote unauthenticated attackers to exhaust server resour

CVE-2016-5195 HIGH POC
7.0 Nov 10

Race condition in mm/gup.c in the Linux kernel 2.x through 4.x before 4.8.3 allows local users to gain privileges by lev

CVE-2023-4911 HIGH POC
7.8 Oct 03

Local privilege escalation in the GNU C Library (glibc) dynamic loader ld.so allows unprivileged local users on affected

CVE-2017-1000253 HIGH POC
7.8 Oct 05

Linux distributions that have not patched their long-term kernels with https://git.kernel.org/linus/a87938b2e246b81b4fb7

CVE-2017-5645 CRITICAL POC
9.8 Apr 17

In Apache Log4j 2.x before 2.8.2, when using the TCP socket server or UDP socket server to receive serialized log events

CVE-2015-0240 CRITICAL POC
10.0 Feb 24

The Netlogon server implementation in smbd in Samba 3.5.x and 3.6.x before 3.6.25, 4.0.x before 4.0.25, 4.1.x before 4.1

CVE-2016-6662 CRITICAL POC
9.8 Sep 20

Oracle MySQL through 5.5.52, 5.6.x through 5.6.33, and 5.7.x through 5.7.15; MariaDB before 5.5.51, 10.0.x before 10.0.2

CVE-2025-32463 CRITICAL POC
9.3 Jun 30

Sudo before 1.9.17p1 contains a local root escalation vulnerability (CVE-2025-32463, CVSS 9.3) through the --chroot opti

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Desktop 15 SP7 Not-Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Not-Affected
SUSE Linux Enterprise Micro 5.3 Not-Affected
SUSE Linux Enterprise Micro 5.4 Not-Affected
SUSE Linux Enterprise Micro 5.5 Not-Affected

Share

EUVD-2026-46169 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy