← All CVEs

CVE-2026-15370

MEDIUM 6.7

Published 2026-07-21 · Last modified 2026-08-17

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.

NO EXPLOITATION SIGNALS

No known exploitation, public exploit, or elevated probability at this time. Track for changes.

Exploitation likelihood

0.2%chance of exploitation in 30 days · 6th percentile

○ In CISA KEV ○ Public exploit / PoC

Impact if exploited

6.7CVSS 3.1 · MEDIUM

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • Access: Requires local access to the host
  • Privileges: Requires a low-privilege account
  • User interaction: A user must take an action (click / open a file)
  • Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept & exploit code

Test against your own equipment

curl -s https://vulnpedia.com/cve/CVE-2026-15370/poc.jsonMachine-readable PoC index for this CVE (for automation).

Listed for defensive triage, patch verification, and authorized testing on systems you own. Machine-readable: /cve/CVE-2026-15370/poc.json

Affected

Vendors Red Hat Libssh Redhat

Products Red Hat Enterprise Linux 10 Red Hat Hardened Images Red Hat Enterprise Linux 8 Red Hat Enterprise Linux 9 Libssh Hardened Images Enterprise Linux

Weakness (CWE)

  • CWE-121: Stack-based Buffer Overflow

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

Known Affected Software Configurations

VendorProductVersion range
LibsshLibssh*
RedhatHardened Images*
RedhatEnterprise Linux10.0

All CVSS metrics

  • MEDIUM 6.7 v3.1 · CNA Primary
    CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
  • MEDIUM 6.7 v3.1 · NVD Secondary
    CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
  • HIGH 7.3 v3.1 · NVD Primary
    CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H

References

Advisories

Sources: NVD · CVE.org · EPSS