CVE-2025-26618CWE-789

SSH SFTP packet size not verified properly in Erlang OTP

High · published February 20, 2025

CVSS v4.0
7.0
EPSS
0%
Percentile
41.8
In the wild
Unconfirmed
What it is

Erlang is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability. OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang. Packet size is not verified properly for SFTP packets. As a result when multiple SSH packets (conforming to max SSH packet size) are received by ssh, they might be combined into an SFTP packet which will exceed the max allowed packet size and potentially cause large amount of memory to be allocated. Note that situation described above can only happen for successfully authenticated users after completing the SSH handshake. This issue has been patched in OTP versions 27.2.4, 26.2.5.9, and 25.3.2.18. There are no known workarounds for this vulnerability.

The record
Technical detail
CVSS v4.0
7.0 · HIGH
Vector
CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H
EPSS
0.00498 · 41.8th percentile
Weakness
CWE-789 · Memory Allocation with Excessive Size Value
Published
2025-02-20T19:04Z
EPSS history
Timeline
  • 20 FEB 19:04Z
    SSH SFTP packet size not verified properly in Erlang OTP
    cvelistv5