{"answers":{"affected":"It affects 11 products.","exploited":"There is no known exploitation of CVE-2026-15370 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2026-15370 is a medium-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 21 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-15370 and fix it if it is affected.\n\nWhat it is: CVE-2026-15370 is a medium-severity memory corruption vulnerability in Redhat Enterprise Linux, published on 21 Jul 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2026-15370 in the wild and no public exploit code.\n\nAffected product: Redhat Enterprise Linux. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-15370/ (Markdown: https://insights.sbomify.com/CVE-2026-15370/index.md)","id":"CVE-2026-15370","markdown":"https://insights.sbomify.com/CVE-2026-15370/index.md","name":"CVE-2026-15370","record":{"aliases":["BELL-CVE-2026-15370","DEBIAN-CVE-2026-15370","ECHO-b5b0-c714-39f4","GHSA-6j7f-8jjp-mm8c","MINI-p4h2-gw6w-9259","RHSA-2026:47768","UBUNTU-CVE-2026-15370"],"analysis":{"component_type":"library","fix_type":"patch","impacts":["code_execution","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"SSH library","requires_auth":"low_privilege","summary":"A stack buffer overflow in libssh's SFTP server allows attackers to cause crashes or execute code via long filenames.","user_interaction":"required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libssh","vendor":"libssh"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"enterprise_linux_for_els","vendor":"redhat"},{"product":"enterprise_linux_for_eus","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_els","vendor":"redhat"},{"product":"enterprise_linux_for_ibm_z_systems_eus","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_els","vendor":"redhat"},{"product":"enterprise_linux_for_power_little_endian_eus","vendor":"redhat"},{"product":"hardened_images","vendor":"redhat"}],"cvss":{"score":6.7,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-121","name":"Stack-based Buffer Overflow"}],"description":"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.","ecosystems":["Red Hat:hummingbird:1"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Libssh: libssh: stack buffer overflow in sftp server longname construction","id":"CVE-2026-15370","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:enterprise_linux_for_ibm_z_systems","redhat:enterprise_linux_for_ibm_z_systems_eus","redhat:enterprise_linux_for_power_little_endian","redhat:enterprise_linux_for_power_little_endian_eus","redhat:hardened_images"],"type":"memory_corruption","year":"2026"},"n_packages":3,"n_references":4,"next":{"headline":"Velociraptor Stored XSS in URL column types","id":"CVE-2026-15371"},"packages":[{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.12.2-1.hum1"],"introduced":["0"],"last_affected":[],"package":"libssh","purl":"pkg:rpm/redhat/libssh","source":"RHSA-2026:47768"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.12.2-1.hum1"],"introduced":["0"],"last_affected":[],"package":"libssh-config","purl":"pkg:rpm/redhat/libssh-config","source":"RHSA-2026:47768"},{"ecosystem":"Red Hat:hummingbird:1","fixed":["0:0.12.2-1.hum1"],"introduced":["0"],"last_affected":[],"package":"libssh-devel","purl":"pkg:rpm/redhat/libssh-devel","source":"RHSA-2026:47768"}],"prev":{"headline":"Privilege escalation in Custom User Registration Fields for WooCommerce","id":"CVE-2026-15369"},"products":["Red Hat Enterprise Linux 10","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 9","Red Hat Hardened Images"],"published":"2026-07-21","related":[{"cvss_score":8.8,"headline":"Libssh: libssh: authentication bypass via missing gssapi principal check","id":"CVE-2026-59851","kev_date_added":null,"published":"2026-07-21"},{"cvss_score":8.1,"headline":"Libssh: invalid return code for chacha20 poly1305 with openssl backend","id":"CVE-2025-5987","kev_date_added":null,"published":"2025-07-07"},{"cvss_score":7.8,"headline":"Libssh: libssh: insecure default configuration leads to local man-in-the-middle attacks on windows","id":"CVE-2025-14821","kev_date_added":null,"published":"2026-04-07"},{"cvss_score":7.5,"headline":"Memory corruption in n/a","id":"CVE-2012-4560","kev_date_added":null,"published":"2012-11-30"},{"cvss_score":7.5,"headline":"Integer overflow in n/a","id":"CVE-2012-4562","kev_date_added":null,"published":"2012-11-30"},{"cvss_score":7.5,"headline":"Use after free in n/a","id":"CVE-2012-6063","kev_date_added":null,"published":"2012-11-30"},{"cvss_score":6.9,"headline":"libssh SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds","id":"CVE-2026-3731","kev_date_added":null,"published":"2026-03-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-08-17","vendors":["Red Hat"]},"summary":"A stack buffer overflow in libssh's SFTP server allows attackers to cause crashes or execute code via long filenames.","url":"https://insights.sbomify.com/CVE-2026-15370/"}