Uncontrolled Memory Allocation Affecting erlang package, versions *


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-ERLANG-9563930
  • published29 Mar 2025
  • disclosed28 Mar 2025

Introduced: 28 Mar 2025

NewCVE-2025-30211  (opens in a new tab)
CWE-789  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 erlang.

NVD Description

Note: Versions mentioned in the description apply only to the upstream erlang package and not the erlang package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1