Skip to main content
← All vulnerabilities
CVE-2025-30211

KEX init error results with excessive memory usage

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in OTP-27.3.1, OTP-26.2.5.10, OTP-25.3.2.19
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • erlang otp

    fixed in OTP-27.3.1; fixed in OTP-26.2.5.10; fixed in OTP-25.3.2.19

References 1

GitHub · erlang/otp