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

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.

Published

CVSS 3.1 score 6.5 out of 10.

Related technologies

Reported versions and fixes

  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product
  • Source-reported product — Reported version range cpe:2.3:a:libssh:libssh:0.11.0:*:*:*:*:*:*:*
  • Source-reported product — Reported version range cpe:2.3:a:libssh:libssh:0.11.1:*:*:*:*:*:*:*
  • libssh — Fixed in 0.11.2-r0
  • libssh — Fixed in 0.11.2-r0

Source evidence