CVE-2025-26618
SSH SFTP packet size not verified properly in Erlang OTP
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
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.
It was discovered that Erlang incorrectly handled SFTP packet sizes. A remote attacker could possibly use this issue to cause Erlang to consume resources, resulting in a denial of service.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2025-02-12 CVE Reserved
- 2025-02-20 CVE Published
- 2025-02-20 CVE Updated
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-789: Memory Allocation with Excessive Size Value
CAPEC
References (3)
URL | Tag | Source |
---|---|---|
https://github.com/erlang/otp/commit/0ed2573cbd55c92e9125c9dc70fa1ca7fed82872 | X_refsource_misc | |
https://github.com/erlang/otp/security/advisories/GHSA-78cv-45vx-q6fr | X_refsource_confirm | |
https://erlang.org/download/OTP-27.2.4.README.md |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Erlang Search vendor "Erlang" | Otp Search vendor "Erlang" for product "Otp" | < Search vendor "Erlang" for product "Otp" and version " < " | en |
Affected
| ||||||
Erlang Search vendor "Erlang" | Otp Search vendor "Erlang" for product "Otp" | < Search vendor "Erlang" for product "Otp" and version " < " | en |
Affected
| ||||||
Erlang Search vendor "Erlang" | Otp Search vendor "Erlang" for product "Otp" | < Search vendor "Erlang" for product "Otp" and version " < " | en |
Affected
|