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

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 0% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before OTP-25.3.2.19, OTP-26.2.5.10, OTP-27.3.1 (CNA); fix release not confirmed
- Status: published
- Published: 2025-03-28 · Modified: 2025-11-03
- Aliases: UBUNTU-CVE-2025-30211, USN-7425-1, DEBIAN-CVE-2025-30211
- Record: https://cvemate.com/vulnerability/CVE-2025-30211 · JSON: https://cvemate.com/vulnerability/CVE-2025-30211/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.472%, percentile 42.419%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian erlang (Debian): \< 1:25.2.3+dfsg-1+deb12u1 \| \< 1:27.3.1+dfsg-1
- ubuntu erlang (Ubuntu): \< 1:16.b.3-dfsg-1ubuntu2.2+esm3 \| \< 1:18.3-dfsg-1ubuntu3.1+esm4 \| \< 1:20.2.2+dfsg-1ubuntu2+esm4 \| \< 1:22.2.7+dfsg-1ubuntu0.4 \| \< 1:24.2.1+dfsg-1ubuntu0.3 \| \< 1:25.3.2.8+dfsg-1ubuntu4.2 \| \< 1:27.3+dfsg-1ubuntu1
- erlang otp: \< OTP-27.3.1 \| \< OTP-26.2.5.10 \| \< OTP-25.3.2.19

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-vvr3-fjhh-cfwc>
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00028.html>
- <https://ubuntu.com/security/CVE-2025-30211>
- <https://www.cve.org/CVERecord?id=CVE-2025-30211>
- <https://github.com/erlang/otp/commit/df3aad2c5570847895562ff96a725190571f028c>
- <https://github.com/erlang/otp/commit/655e20a49ef80431e86ffb6c7f366d01fd4b64c3>
- <https://github.com/erlang/otp/commit/d64d9fb0688092356a336e38a8717499113312a0>
- <https://github.com/erlang/otp/commit/5ee26eb412a76ba1c6afdf4524b62939a48d1bce>
- <https://ubuntu.com/security/notices/USN-7425-1>
- <https://ubuntu.com/security/notices/USN-8901-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-30211>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30211>

---

Data as of 2026-12-05T06:32:57.987Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
