# CVE-2025-5449: Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-07-25 · Modified: 2026-11-24
- Aliases: UBUNTU-CVE-2025-5449, DEBIAN-CVE-2025-5449, ALPINE-CVE-2025-5449
- Record: https://cvemate.com/vulnerability/CVE-2025-5449 · JSON: https://cvemate.com/vulnerability/CVE-2025-5449/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.043%, percentile 65.201%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- alpine libssh (Alpine Linux): \< 0.11.2-r0
- debian libssh (Debian): \< 0.11.2-1
- ubuntu libssh (Ubuntu): \< 0.11.1-1ubuntu0.1
- libssh libssh: 0.11.0 \| 0.11.1

## References

- <https://access.redhat.com/security/cve/CVE-2025-5449>
- <https://bugzilla.redhat.com/show_bug.cgi?id=2369705>
- <https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=261612179f740bc62ba363d98b3bd5e5573a811f>
- <https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=3443aec90188d6aab9282afc80a81df5ab72c4da>
- <https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=5504ff40515439a5fecbb17da7483000c4d12eb7>
- <https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=78485f446af9b30e37eb8f177b81940710d54496>
- <https://git.libssh.org/projects/libssh.git/commit/?h=stable-0.11&id=f79ec51b7fd519dbc5737a7ba826e3ed093f6ceb>
- <https://www.libssh.org/security/advisories/CVE-2025-5449.txt>
- <https://ubuntu.com/security/CVE-2025-5449>
- <https://www.cve.org/CVERecord?id=CVE-2025-5449>
- <https://ubuntu.com/security/notices/USN-7619-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-5449>
- <https://security.alpinelinux.org/vuln/CVE-2025-5449>

---

Data as of 2026-12-05T06:50:48.803Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
