Red Hat Security Advisory: libssh security update
A stack-based buffer overflow vulnerability (CVE-2026-15370) was found in libssh during SFTP server directory listing. The flaw occurs because the longname field is constructed with unsafe concatenation into a fixed-size stack buffer, allowing attacker-controlled filenames of sufficient length to overflow the buffer. This can lead to server crashes or potential code execution. Red Hat has released an update for libssh in their Hardened Images RPMs to address this issue. No workaround is available, so applying the update is necessary to mitigate the risk.
AI Analysis
Technical Summary
The vulnerability in libssh (CVE-2026-15370) involves a stack-based buffer overflow in the SFTP server's longname construction during directory listing. Specifically, the longname field is built by concatenating attacker-controlled filenames into a fixed-size stack buffer without proper bounds checking. This unsafe operation can cause a buffer overflow, potentially leading to denial of service via crashes or even arbitrary code execution on the server. Red Hat has issued a security advisory and released updated libssh packages (version 0.12.2-1.hum1) for their Hardened Images RPMs on aarch64 and x86_64 architectures to fix this issue. The vulnerability is rated with a CVSS v3.1 base score of approximately 6.7 to 7.3 depending on the source, with impacts on confidentiality, integrity, and availability. No workaround exists, so patching is the recommended mitigation.
Potential Impact
Exploitation of this vulnerability can cause denial of service through server crashes or potentially allow arbitrary code execution on the affected system. This impacts the confidentiality, integrity, and availability of the affected libssh server. The vulnerability requires local access with low privileges and user interaction. The attack complexity is rated as high by Red Hat but low by other sources. The vulnerability affects the SFTP server component of libssh during directory listing operations involving attacker-controlled filenames.
Mitigation Recommendations
Red Hat has released updated libssh packages (version 0.12.2-1.hum1) as part of their Hardened Images RPMs to address this vulnerability. There is no available workaround. Users should apply the official Red Hat update promptly to mitigate the risk. Refer to Red Hat advisory RHSA-2026:47768 for detailed update instructions. Since this is not a cloud service, remediation depends on applying the vendor-provided patch.
Red Hat Security Advisory: libssh security update
Description
A stack-based buffer overflow vulnerability (CVE-2026-15370) was found in libssh during SFTP server directory listing. The flaw occurs because the longname field is constructed with unsafe concatenation into a fixed-size stack buffer, allowing attacker-controlled filenames of sufficient length to overflow the buffer. This can lead to server crashes or potential code execution. Red Hat has released an update for libssh in their Hardened Images RPMs to address this issue. No workaround is available, so applying the update is necessary to mitigate the risk.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in libssh (CVE-2026-15370) involves a stack-based buffer overflow in the SFTP server's longname construction during directory listing. Specifically, the longname field is built by concatenating attacker-controlled filenames into a fixed-size stack buffer without proper bounds checking. This unsafe operation can cause a buffer overflow, potentially leading to denial of service via crashes or even arbitrary code execution on the server. Red Hat has issued a security advisory and released updated libssh packages (version 0.12.2-1.hum1) for their Hardened Images RPMs on aarch64 and x86_64 architectures to fix this issue. The vulnerability is rated with a CVSS v3.1 base score of approximately 6.7 to 7.3 depending on the source, with impacts on confidentiality, integrity, and availability. No workaround exists, so patching is the recommended mitigation.
Potential Impact
Exploitation of this vulnerability can cause denial of service through server crashes or potentially allow arbitrary code execution on the affected system. This impacts the confidentiality, integrity, and availability of the affected libssh server. The vulnerability requires local access with low privileges and user interaction. The attack complexity is rated as high by Red Hat but low by other sources. The vulnerability affects the SFTP server component of libssh during directory listing operations involving attacker-controlled filenames.
Mitigation Recommendations
Red Hat has released updated libssh packages (version 0.12.2-1.hum1) as part of their Hardened Images RPMs to address this vulnerability. There is no available workaround. Users should apply the official Red Hat update promptly to mitigate the risk. Refer to Red Hat advisory RHSA-2026:47768 for detailed update instructions. Since this is not a cloud service, remediation depends on applying the vendor-provided patch.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- GHSA-6j7f-8jjp-mm8c
- Osv Schema Version
- 1.4.0
- Aliases
- ["CVE-2026-15370"]
- Database Specific Severity
- MODERATE
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6b72bc9c2644c7f8474557
Added to database: 07/30/2026, 15:50:20 UTC
Last enriched: 08/18/2026, 16:44:17 UTC
Last updated: 09/10/2026, 20:12:38 UTC
Views: 89
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.