Red Hat Enterprise Linux 10
Libssh: libssh: stack buffer overflow in sftp server longname construction
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.
First public PoC
None yetno public PoC found
Public PoCs00 on GitHub
CVSS7.3high · scored by NVD · CWE-121
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
Red Hat Red Hat Enterprise Linux 10
Fixed in 0:0.12.0-3.el10_2
Red Hat Red Hat Hardened Images
Fixed in 0.12.2-1.hum1
Mitigation
Upgrade Red Hat Enterprise Linux 10 to 0:0.12.0-3.el10_2 or later.
Upgrade Red Hat Hardened Images to 0.12.2-1.hum1 or later.
Workaround
No workaround available.
References
- Vendor advisory access.redhat.com/errata/RHSA-2026:47768
- Vendor advisory access.redhat.com/errata/RHSA-2026:55855
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.