{"id":"JLSEC-2026-1408","details":"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.","modified":"2026-11-23T19:30:02.434159796Z","published":"2026-11-23T19:26:16.010Z","upstream":["CVE-2026-15370"],"database_specific":{"sources":[{"database_specific":{"status":"Analyzed"},"affected":{"libssh:libssh":["= 0.12.0","\u003e= 0.11.0, \u003c 0.11.5"]},"id":"CVE-2026-15370","imported":"2026-11-21T02:43:39.188Z","modified":"2026-11-05T17:18:08.900Z","published":"2026-07-21T09:16:53.683Z","url":"https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-15370","html_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-15370"}],"license":"CC-BY-4.0"},"references":[{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:47768"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:55855"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-15370"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2499049"}],"affected":[{"package":{"name":"libssh_jll","ecosystem":"Julia","purl":"pkg:julia/libssh_jll?uuid=a8d4f100-aa25-5708-be18-96e0805c2c9d"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.11.0+0"},{"fixed":"0.12.1+0"}]}],"database_specific":{"source":"https://github.com/JuliaLang/SecurityAdvisories.jl/tree/generated/osv/2026/JLSEC-2026-1408.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","source":"NVD"}]}