GHSA-98qw-prqm-9f4p
Record from GitHub Advisory Database · Published June 26, 2025
A flaw was found in the libssh library. An out-of-bounds read can be triggered in the sftp_handle function due to an incorrect comparison check that permits the function to access memory beyond the valid handle list and to return an invalid pointer, which is used in further processing. This vulnerability allows an authenticated remote attacker to potentially read unintended memory regions, exposing sensitive information or affect service behavior.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| libssh | Chainguard | 0.11.3-r0 |
| libssh2 | Wolfi | 1.11.1-r1 |
| libssh | Wolfi | 0.11.3-r0 |
| libssh2 | Chainguard | 1.11.1-r1 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | libssh | 0 |
| wolfi | libssh2 | 0 |
| wolfi | libssh | 0 |
| chainguard | libssh2 | 0 |
Timeline
- Jun 26, 2025 CVE Published
- Apr 10, 2026 Distribution Patch (27 in total, the first dated here)
- Apr 10, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-98qw-prqm-9f4p
vulnetix vdb fixes GHSA-98qw-prqm-9f4p
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-98qw-prqm-9f4p/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://www.libssh.org/security/advisories/CVE-2025-5318.txt url
- https://bugzilla.redhat.com/show_bug.cgi?id=2369131 url
- https://access.redhat.com/security/cve/CVE-2025-5318 url
- https://access.redhat.com/errata/RHSA-2026:1541 url
- https://access.redhat.com/errata/RHSA-2025:22275 url
- https://access.redhat.com/errata/RHSA-2025:21829 url
- https://access.redhat.com/errata/RHSA-2025:21329 url
- https://access.redhat.com/errata/RHSA-2025:20943 url
- https://access.redhat.com/errata/RHSA-2025:19472 url
- https://access.redhat.com/errata/RHSA-2025:19300 url
- https://access.redhat.com/errata/RHSA-2025:19295 url
- https://access.redhat.com/errata/RHSA-2025:18275 url
- https://access.redhat.com/errata/RHSA-2026:0326 url
- https://access.redhat.com/errata/RHSA-2025:23080 url
- https://access.redhat.com/errata/RHSA-2025:23078 url
- https://access.redhat.com/errata/RHSA-2025:21013 url
- https://access.redhat.com/errata/RHSA-2025:19864 url
- https://access.redhat.com/errata/RHSA-2025:19807 url
- https://access.redhat.com/errata/RHSA-2025:19470 url
- https://access.redhat.com/errata/RHSA-2025:19401 url
…and 11 more