Integer overflow in Libssh

CVE-2025-5449

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.

Vulnerability class: Integer Overflow

Published · last modified .

CVSS v3 metric

CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H.

EPSS exploit prediction

EPSS 0.010, 64.2th percentile (scored ); unchanged over 30 days. About EPSS.

Affected products

  • Libssh — versions 0.11.0, 0.11.1

Weakness classification (CWE)

Public exploits and proof-of-concept code

Also mentioned in 1 other repository (8-cm/kube-dump). These reference the CVE in a list, notes or a scanner and are not exploit code for it.

References