CVEfocus › CVE database › CVE-2025-30211

CVE-2025-30211KEX init error results with excessive memory usage

CVSS 7.5 HighEPSS 0.8% (higher than 53% of CVEs)Published 2025-03-28Updated 2025-11-03Assigner: GitHub_M

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.

CWE-789

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

7Fixed
3Fix pending

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 25.10erlangFixed1:27.3+dfsg-1ubuntu1UBUNTU-CVE-2025-30211
Ubuntu 24.04erlangFixed1:25.3.2.8+dfsg-1ubuntu4.2UBUNTU-CVE-2025-30211
Ubuntu 22.04erlangFixed1:24.2.1+dfsg-1ubuntu0.3UBUNTU-CVE-2025-30211
Ubuntu 20.04erlangFixed1:22.2.7+dfsg-1ubuntu0.4UBUNTU-CVE-2025-30211
Ubuntu 18.04erlangFix pending1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-30211
Ubuntu 16.04erlangFix pending1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-30211
Ubuntu 14.04erlangFix pending1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-30211
Debian 14erlangFixed1:27.3.1+dfsg-1DEBIAN-CVE-2025-30211
Debian 13erlangFixed1:27.3.1+dfsg-1DEBIAN-CVE-2025-30211
Debian 12erlangFixed1:25.2.3+dfsg-1+deb12u1DEBIAN-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.

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.