CVE-2025-5449
published medium CVSS 3.1 · 6.5Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | libssh0.11.0 through 0.11.1 · Other versions: unaffected | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | 8, 9, 10 | libssh | Unaffected | Not required | redhat |
| Red Hat Enterprise Linux | 6, 7 | libssh2 | Unaffected | Not required | redhat |
| Red Hat | — | openshift/ose-rhel-coreos-8Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Amazon Linux | AL2023 | Release evaluation | Not Affected | Not required | Amazon Linux assessment |
| Alpine Linux | edge | libssh | Fixed | 0.11.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configaarch64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| Alpine Linux | v3.22 | libssh | Fixed | 0.11.2-r0 | Package fix record |
Show 18 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat | — | openshift/ose-rhel-coreos-9Red Hat OpenShift Container Platform 4 | Unaffected | Not required | redhat |
| Alpine Linux | v3.23 | libssh | Fixed | 0.11.2-r0 | Package fix record |
| Alpine Linux | v3.24 | libssh | Fixed | 0.11.2-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configppc64le | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configs390x | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-configx86_64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develaarch64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develppc64le | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-devels390x | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh-develx86_64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4aarch64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4ppc64le | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4s390x | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4x86_64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitaarch64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitppc64le | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bits390x | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | libssh4-32bitx86_64 | Advisory build | 0.11.2-1.1 | OPENSUSE-SU-2025:15243-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- redhat · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| libssh | 0.11.0 through 0.11.1 (affected · semver)Default: unaffected | redhat · cna | |
| Red Hat | Red Hat Enterprise Linux 10 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 6 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 7 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 8 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat Enterprise Linux 9 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
| Red Hat | Red Hat OpenShift Container Platform 4 | Default: unaffected | redhat · cna |
Weaknesses
1- CWE-190 Integer Overflow or Wraparound
References
8- https://access.redhat.com/security/cve/CVE-2025-5449
- RHBZ#2369705 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
Provider assertions
2redhat · cna
Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fa8f4666b09df70a545461f8dc7be44f89e173529478b1e71d6de2d188febd69
- Ingested
- 24 Nov 2026, 20:39:45 UTC
- Source record
- Official CVE record