CVE-2025-30211 json
KEX init error results with excessive memory usage
published 2025-03-28 19 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-14809
- cvss
- 7.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- erlang erlang/otp 25.3.2.19, 26.2.5.10, 27.3.1
- erlang Debian 12 1:25.2.3+dfsg-1+deb12u1
- erlang Debian 14, Debian 13 1:27.3.1+dfsg-1
debian advisories DEBIAN-CVE-2025-30211
- erlang Ubuntu 20.04 LTS 1:22.2.7+dfsg-1ubuntu0.4
- erlang Ubuntu 22.04 LTS 1:24.2.1+dfsg-1ubuntu0.3
- erlang Ubuntu 24.04 LTS 1:25.3.2.8+dfsg-1ubuntu4.2
- erlang Ubuntu 25.10 1:27.3+dfsg-1ubuntu1
- erlang Ubuntu Pro 14.04 LTS 1:16.b.3-dfsg-1ubuntu2.2+esm3
- erlang Ubuntu Pro 16.04 LTS 1:18.3-dfsg-1ubuntu3.1+esm4
- erlang Ubuntu Pro 18.04 LTS 1:20.2.2+dfsg-1ubuntu2+esm4
ubuntu advisories UBUNTU-CVE-2025-30211
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- erlang26 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 26.2.1-150300.7.11.1
suse advisories SUSE-SU-2025:1356-1
- erlang CBL-Mariner 2.0 25.3.2.20-1
- erlang Azure Linux 3.0 26.2.5.10-1
azure linux advisories AZL-59350AZL-59358
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-30211 updated cvss 7.5
erlang: KEX init error results with excessive memory usage
-
Red Hat OpenStack Platform 16.2 erlang, erlang-ssl, erlang-asn1, erlang-erts, erlang-hipe, erlang-sasl, +15 more Red Hat OpenStack Platform 17.1 erlang, erlang-ssl, erlang-asn1, erlang-erts, erlang-sasl, erlang-snmp, +14 more Red Hat OpenStack Platform 18.0 erlangnot affected: inline mitigations already exist
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected products
- erlang otp
Classification
- Weakness
-
- CWE-789 Memory Allocation with Excessive Size Value
References
Sources
- CVE List CVE-2025-30211
- NVD CVE-2025-30211
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.