CVE-2025-30211 Details
Description
Erlang/OTP is a set of libraries for the Erlang programming language. Prior to versions OTP-27.3.1, 26.2.5.10, and 25.3.2.19, a maliciously formed KEX init message can result with high memory usage. Implementation does not verify RFC specified limits on algorithm names (64 characters) provided in KEX init message. Big KEX init packet may lead to inefficient processing of the error data. As a result, large amount of memory will be allocated for processing malicious data. Versions OTP-27.3.1, OTP-26.2.5.10, and OTP-25.3.2.19 fix the issue. Some workarounds are available. One may set option `parallel_login` to `false` and/or reduce the `max_sessions` option.
A vulnerability exists in Erlang/OTP versions prior to OTP-27.3.1, OTP-26.2.5.10, and OTP-25.3.2.19, where a maliciously crafted KEX init message can cause high memory usage. The issue arises because the implementation fails to enforce RFC-specified limits on algorithm name lengths (64 characters) in the KEX init message. This oversight allows large KEX init packets to be processed inefficiently, leading to excessive memory allocation for handling the malicious data.
Users can upgrade to Erlang/OTP versions OTP-27.3.1, OTP-26.2.5.10, or OTP-25.3.2.19 to address this vulnerability. Additionally, as a temporary workaround, the `parallel_login` option can be set to `false` and the `max_sessions` option can be reduced.
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 Mar 28, 2025CISA-ADP
Assessed Mar 28, 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://lists.debian.org/debian-lts-announce/2025/04/msg00028.html | CVE | |
| https://github.com/erlang/otp/security/advisories/GHSA-vvr3-fjhh-cfwc | [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.3.1 < OTP-26.2.5.10 < OTP-25.3.2.19 |
CPE
Remediation
| |
Change History
4 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 |
| Mar 28, 2025 | New CVE Received | [email protected] |
Volerion