CVE Program
CNA-CVE-2025-30211
KEX init error results with excessive memory usage
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Erlang | otp | All versions before 27.3.1 (fixed in 27.3.1) All versions before 26.2.5.10 (fixed in 26.2.5.10) All versions before 25.3.2.19 (fixed in 25.3.2.19) |