« List of all CVEs

CVE-2025-5449

Libssh: integer overflow in libssh sftp server packet length validation leading to denial of service

Published: 7/25/2025 Last updated: 6/30/2026 Reserved: 6/2/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.

CNA assigner: redhat (53f830b8-0a3f-465b-8143-3b8a9948e749) Requested by: n/a

Metrics

Version Score Severity Vector String
3.1 6.5 Medium CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Opam packages affected (1)

libssh

Products affected (14)

Product Vendor Version
8.5.4
Red Hat Enterprise Linux 10 Red Hat n/a
Red Hat Enterprise Linux 8 Red Hat n/a
Red Hat Enterprise Linux 9 Red Hat < 5.2.24
Windows 10 Version 1803 for x64-based Systems
Red Hat Enterprise Linux 10 Red Hat Windows 10 Version 1803 for ARM64-based Systems
Red Hat Enterprise Linux 8 Red Hat Windows 10 Version 1809 for ARM64-based Systems
Red Hat Enterprise Linux 9 Red Hat Windows Server 2019
Red Hat Enterprise Linux 6 Red Hat n/a
Red Hat Enterprise Linux 7 Red Hat 9.7.1.29511
Red Hat Enterprise Linux 6 Red Hat Windows 10 Version 1809 for 32-bit Systems
Red Hat Enterprise Linux 7 Red Hat Windows 10 Version 1809 for x64-based Systems
Red Hat OpenShift Container Platform 4 Red Hat Windows 10 Version 1709 for 32-bit Systems
Red Hat OpenShift Container Platform 4 Red Hat < 6.0.2

References (16)

Credits (2)