CVE-2025-26618 Details
Description
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.
A vulnerability exists in Erlang's OTP libraries, specifically in the SSH application, where SFTP packet sizes are not properly validated. This flaw allows multiple SSH packets, each within the maximum size limit, to be merged into a single SFTP packet that exceeds the allowed size. Consequently, this can lead to excessive memory allocation. This issue affects authenticated users after the SSH handshake. The vulnerability is present in OTP versions 27.2.3 and prior, 26.2.5.8 and prior, and 25.3.2.17 and prior.
Users can upgrade to Erlang OTP versions 27.2.4, 26.2.5.9, or 25.3.2.18 to address this vulnerability.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 20, 2025CISA-ADP
Assessed Feb 20, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://erlang.org/download/OTP-27.2.4.README.md | CISA-ADP | Release NotesVendor |
| https://lists.debian.org/debian-lts-announce/2025/04/msg00028.html | CVE | |
| https://github.com/erlang/otp/commit/0ed2573cbd55c92e9125c9dc70fa1ca7fed82872 | [email protected] | Source CodeVendor |
| https://github.com/erlang/otp/security/advisories/GHSA-78cv-45vx-q6fr | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-789 | Memory Allocation with Excessive Size Value | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Erlang OTP | <= OTP-27.2.3 <= OTP-26.2.5.8 <= OTP-25.3.2.17 |
CPE
Remediation
| |
| Erlang snmp | All versions |
CPE
Remediation
| |
| Erlang ssh | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Nov 3, 2025 | CVE Modified | CVE |
| Feb 20, 2025 | CVE Modified | CISA-ADP |
| Feb 20, 2025 | New CVE Received | [email protected] |
Volerion