GHSA-wg5h-wgv3-pgqh
Record from GitHub Advisory Database · Published March 8, 2026
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.
Risk scores
Timeline
- Mar 8, 2026 CVE Published
- Apr 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-wg5h-wgv3-pgqh
vulnetix vdb fixes GHSA-wg5h-wgv3-pgqh
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-wg5h-wgv3-pgqh/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://vuldb.com/?ctiid.349709 url
- https://www.libssh.org/files/0.12/libssh-0.12.0.tar.xz url
- https://www.libssh.org/security/advisories/libssh-2026-sftp-extensions.txt url
- https://nvd.nist.gov/vuln/detail/CVE-2026-3731 advisory
- https://gitlab.com/libssh/libssh-mirror/-/commit/855a0853ad3abd4a6cd85ce06fce6d8d4c7a0b60 url
- https://vuldb.com/?id.349709 url
- https://vuldb.com/?submit.767120 url