CVE-2025-5449
Reported by redhat · Published July 25, 2025
A flaw was found in the SFTP server message decoding logic of libssh. The issue occurs due to an incorrect packet length check that allows an integer overflow when handling large payload sizes on 32-bit systems. This issue leads to failed memory allocation and causes the server process to crash, resulting in a denial of service.
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 | Alpine | 0.11.2-r0 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0.11.0 | ||
| Red Hat | Red Hat Enterprise Linux 10 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| alpine | libssh | 0 |
| Red Hat | Red Hat Enterprise Linux 8 | |
| Red Hat | Red Hat Enterprise Linux 7 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 9 | |
| 0.11.0 | ||
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat OpenShift Container Platform 4 | |
| Red Hat | Red Hat Enterprise Linux 6 | |
| Red Hat | Red Hat In-Vehicle Operating System 1 | |
| Red Hat | Red Hat Enterprise Linux 10 |
Timeline
- Jun 29, 2025 CVE Published
- Jul 25, 2025 Coalition ESS Score (14 in total, the first dated here)
- Jul 25, 2025 PoC Published (2 in total, the first dated here)
- Jul 26, 2025 EPSS Score (30 in total, the first dated here)
- Apr 22, 2026 Security Advisory (39 in total, the first dated here)
- Jun 30, 2026 CVE Updated
- Oct 20, 2026 Distribution Patch (38 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2025-5449
vulnetix vdb fixes CVE-2025-5449
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/CVE-2025-5449/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- vdb-entryx_refsource_REDHAT
- RHBZ#2369705 issue-trackingx_refsource_REDHAT