CVE-2025-30211KEX init error results with excessive memory usage
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 25.10 | erlang | Fixed | 1:27.3+dfsg-1ubuntu1 | UBUNTU-CVE-2025-30211 |
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.2 | UBUNTU-CVE-2025-30211 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.3 | UBUNTU-CVE-2025-30211 |
| Ubuntu 20.04 | erlang | Fixed | 1:22.2.7+dfsg-1ubuntu0.4 | UBUNTU-CVE-2025-30211 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-30211 |
| Ubuntu 16.04 | erlang | Fix pending | 1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-30211 |
| Ubuntu 14.04 | erlang | Fix pending | 1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-30211 |
| Debian 14 | erlang | Fixed | 1:27.3.1+dfsg-1 | DEBIAN-CVE-2025-30211 |
| Debian 13 | erlang | Fixed | 1:27.3.1+dfsg-1 | DEBIAN-CVE-2025-30211 |
| Debian 12 | erlang | Fixed | 1:25.2.3+dfsg-1+deb12u1 | DEBIAN-CVE-2025-30211 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- erlang otp: affected: < OTP-27.3.1, < OTP-26.2.5.10, < OTP-25.3.2.19
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.