{"answers":{"affected":"It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-3731 in the wild and no public exploit code.","fix":"Upgrade to a fixed version.","what":"CVE-2026-3731 is a medium-severity memory corruption vulnerability in libssh, published on 8 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-3731 and fix it if it is affected.\n\nWhat it is: CVE-2026-3731 is a medium-severity memory corruption vulnerability in libssh, published on 8 Mar 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-3731 in the wild and no public exploit code.\n\nAffected product: libssh. 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-3731/ (Markdown: https://insights.sbomify.com/CVE-2026-3731/index.md)","id":"CVE-2026-3731","markdown":"https://insights.sbomify.com/CVE-2026-3731/index.md","name":"CVE-2026-3731","record":{"aliases":["AZL-79544","AZL-79547","BELL-CVE-2026-3731","CLSA-2026-1773830791","CLSA-2026-1773929316","CLSA-2026-1773930007","CLSA-2026-1773930993","CLSA-2026-1773931583","CLSA-2026-1773932358","CLSA-2026-1774007374","CLSA-2026-1774007526","DEBIAN-CVE-2026-3731","ECHO-9db6-4921-aec5","GHSA-wg5h-wgv3-pgqh","JLSEC-2026-784","MINI-r747-56pp-8h36","OESA-2026-1652","OESA-2026-1653","OESA-2026-1654","OESA-2026-1655","OESA-2026-1656","SUSE-SU-2026:0936-1","SUSE-SU-2026:1310-1","SUSE-SU-2026:20767-1","UBUNTU-CVE-2026-3731","USN-8093-1","USN-8093-2"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"libssh library","requires_auth":"none","summary":"Remote attackers can trigger an out-of-bounds read in libssh's SFTP extension handler, potentially causing information disclosure or crashes.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[{"product":"libssh","vendor":"libssh"}],"cvss":{"score":6.9,"severity":"medium","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:X","version":"4.0"},"cwes":[{"id":"CWE-125","name":"Out-of-bounds Read"},{"id":"CWE-119","name":"Improper Restriction of Operations within the Bounds of a Memory Buffer"}],"description":"A weakness has been identified in libssh up to 0.11.3. The impacted element is the function sftp_extensions_get_name/sftp_extensions_get_data of the file src/sftp.c of the component SFTP Extension Name Handler. Executing a manipulation of the argument idx can lead to out-of-bounds read. The attack may be performed from remote. Upgrading to version 0.11.4 and 0.12.0 is sufficient to resolve this issue. This patch is called 855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60. You should upgrade the affected component.","ecosystems":["SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Micro 6.1","openSUSE:Leap 15.6"],"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 SFTP Extension Name sftp.c sftp_extensions_get_data out-of-bounds","id":"CVE-2026-3731","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"memory_corruption","year":"2026"},"n_packages":4,"n_references":6,"next":{"headline":"Tenda F453 exeCommand strcpy stack-based overflow","id":"CVE-2026-3732"},"packages":[{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["0.9.8-150200.13.18.1"],"introduced":["0"],"last_affected":[],"package":"libssh","purl":"pkg:rpm/suse/libssh\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2026:0936-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["0.9.8-150600.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libssh","purl":"pkg:rpm/suse/libssh\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:1310-1"},{"ecosystem":"SUSE:Linux Micro 6.1","fixed":["0.10.6-slfo.1.1_5.1"],"introduced":["0"],"last_affected":[],"package":"libssh","purl":"pkg:rpm/suse/libssh\u0026distro=SUSE%20Linux%20Micro%206.1","source":"SUSE-SU-2026:20767-1"},{"ecosystem":"openSUSE:Leap 15.6","fixed":["0.9.8-150600.11.12.1"],"introduced":["0"],"last_affected":[],"package":"libssh","purl":"pkg:rpm/opensuse/libssh\u0026distro=openSUSE%20Leap%2015.6","source":"SUSE-SU-2026:1310-1"}],"prev":{"headline":"itsourcecode Free Hotel Reservation System index.php sql injection","id":"CVE-2026-3730"},"products":["libssh"],"published":"2026-03-08","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"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"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":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-03-11","vendors":["n/a"]},"summary":"Remote attackers can trigger an out-of-bounds read in libssh's SFTP extension handler, potentially causing information disclosure or crashes.","url":"https://insights.sbomify.com/CVE-2026-3731/"}