CVE-2025-30211 KEX init error results with excessive memory usage
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 7 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux erlang(Azure Linux 3.0) | < 26.2.5.10-1 | 26.2.5.10-1 | Fixed |
| cbl-mariner erlang(CBL-Mariner 2.0) | < 25.2-4 | 25.2-4 | Fixed |
| debian/erlang(Debian 12) | < 1:25.2.3+dfsg-1+deb12u1; = 1:25.2.3+dfsg-1 | 1:25.2.3+dfsg-1+deb12u1 | Fixed |
| debian/erlang(Debian 13) | < 1:27.3.1+dfsg-1 | 1:27.3.1+dfsg-1 | Fixed |
| debian/erlang(Debian 14) | < 1:27.3.1+dfsg-1 | 1:27.3.1+dfsg-1 | Fixed |
| ubuntu/erlang(Ubuntu 22.04) | < 1:24.2.1+dfsg-1ubuntu0.3 | 1:24.2.1+dfsg-1ubuntu0.3 | Fixed |
| ubuntu/erlang(Ubuntu 24.04) | < 1:25.3.2.8+dfsg-1ubuntu4.2 | 1:25.3.2.8+dfsg-1ubuntu4.2 | Fixed |
| erlang otp | = < OTP-25.3.2.19; = < OTP-26.2.5.10; = < OTP-27.3.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| cbl-mariner erlang(CBL-Mariner:2.0) | < 25.2-4 | 25.2-4 |
| azure linux erlang(Azure Linux:3.0) | < 26.2.5.10-1 | 26.2.5.10-1 |
| debian/erlang(Debian:12) | < 1:25.2.3+dfsg-1+deb12u1 | 1:25.2.3+dfsg-1+deb12u1 |
| debian/erlang(Debian:12) | = 1:25.2.3+dfsg-1 | No fix listed |
| debian/erlang(Debian:13) | < 1:27.3.1+dfsg-1 | 1:27.3.1+dfsg-1 |
| debian/erlang(Debian:14) | < 1:27.3.1+dfsg-1 | 1:27.3.1+dfsg-1 |
| erlang otp | = < OTP-27.3.1 | No fix listed |
| erlang otp | = < OTP-26.2.5.10 | No fix listed |
| erlang otp | = < OTP-25.3.2.19 | No fix listed |
| ubuntu/erlang(Ubuntu:22.04) | < 1:24.2.1+dfsg-1ubuntu0.3 | 1:24.2.1+dfsg-1ubuntu0.3 |
| ubuntu/erlang(Ubuntu:24.04) | < 1:25.3.2.8+dfsg-1ubuntu4.2 | 1:25.3.2.8+dfsg-1ubuntu4.2 |
References
- MSRC Security Update Guide vendor-advisory
- CBL-Mariner Releases vendor-advisory
- Debian Security Tracker CVE-2025-30211 vendor-advisory
- https://github.com/erlang/otp/security/advisories/GHSA-vvr3-fjhh-cfwc
- lists.debian.org
- Ubuntu CVE tracker vendor-advisory
- USN-7425-1 vendor-advisory
- USN-8901-1 vendor-advisory
- www.cve.org
- bugs.debian.org issue-tracking