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

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 53% of CVEs (2026-11-30)
- Published: 2025-03-28T14:55:47.778Z
- Modified: 2026-06-17T09:08:21.863Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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>

## Sources

- CVE List: [CVE-2025-30211](https://www.cve.org/CVERecord?id=CVE-2025-30211), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-30211](https://nvd.nist.gov/vuln/detail/CVE-2025-30211), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-30211 · Whole record: https://cve.day/CVE-2025-30211.json · Rebuilt by cve.day 2026-11-25T22:58:55.673Z
