CWE-789Weakness · CWE-789

CVE-2025-30211

HIGH · 7.5 CVSS v3.1 Published 2025-03-28
Mitigation only
No fix yet — a mitigation exists. There is no fixed release. A documented workaround reduces exposure in the meantime.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
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.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Erlang/OTP SSH server fails to validate RFC-specified 64-character limit on algorithm names in KEX init messages. An attacker can send maliciously crafted KEX init packets with excessively long algorithm names, causing inefficient processing and excessive memory allocation leading to denial of service.

MitigationUpgrade to Erlang/OTP versions OTP-27.3.1, 26.2.5.10, or 25.3.2.19. Alternatively, set the SSH daemon option `parallel_login` to `false` and/or reduce the `max_sessions` option as workarounds.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check installed Erlang/OTP version
    Run 'erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell' or check 'otp_version' in the Erlang shell
    Affected if The version is OTP-25.x before 25.3.2.19, OTP-26.x before 26.2.5.10, or OTP-27.x before 27.3.1
  2. Determine if SSH daemon is enabled
    Check for SSH server configuration in Erlang application environment: look for 'ssh' application started or check for SSH daemon processes listening on port 22
    Affected if SSH daemon (sshd) is running and accessible on a network port
  3. Verify SSH configuration uses default parallel_login
    Inspect SSH daemon configuration files or runtime settings for the 'parallel_login' option; if not explicitly set, it defaults to true
    Affected if parallel_login is set to true (default) or not explicitly configured to false
  4. Check max_sessions configuration
    Review SSH daemon settings for 'max_sessions' value; higher values increase DoS impact
    Affected if max_sessions is set to a high value or not explicitly limited

You are affected if you run an Erlang/OTP SSH server with an affected version (OTP-25.x before 25.3.2.19, OTP-26.x before 26.2.5.10, or OTP-27.x before 27.3.1) and the SSH daemon is accessible on the network.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Mitigation available No clean upgrade yet — mitigate in the meantime
Mitigation

Upgrade to Erlang/OTP versions OTP-27.3.1, 26.2.5.10, or 25.3.2.19. Alternatively, set the SSH daemon option `parallel_login` to `false` and/or reduce the `max_sessions` option as workarounds.

Recommended fix High confidence

OTP-27.3.1 (or 26.2.5.10 or 25.3.2.19 depending on your major version branch)

  1. 1. Identify the current Erlang/OTP version in use by running 'erl -version' or checking your deployment configuration
  2. 2. Upgrade to a fixed version: OTP-27.3.1, OTP-26.2.5.10, or OTP-25.3.2.19 (choose the major version aligned with your current installation)
  3. 3. For Debian systems, upgrade via: apt-get update && apt-get install erlang
  4. 4. For source builds, download the appropriate version from https://www.erlang.org/downloads
  5. 5. After upgrading, verify the new version is running: erl -version
  6. 6. If immediate upgrade is not possible, apply workarounds: In your SSH application configuration, set 'parallel_login' to 'false' and/or reduce 'max_sessions' to a lower value (e.g., 10-20)
Caveat Review Erlang/OTP release notes for your target version for any potential compatibility changes; this is primarily a security fix with minimal expected breaking changes

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation2.0 h
  • Implementation4.0 h
  • Testing4.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,080
Get help mitigating

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,328.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-30211 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-30211 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data