CVE-2025-30211
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 · uneditedErlang/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 confidenceErlang/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.
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 checksWork through these to decide whether this CVE applies to you.
-
Check installed Erlang/OTP versionRun 'erl -eval 'erlang:display(erlang:system_info(otp_release)), halt().' -noshell' or check 'otp_version' in the Erlang shellAffected 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
-
Determine if SSH daemon is enabledCheck for SSH server configuration in Erlang application environment: look for 'ssh' application started or check for SSH daemon processes listening on port 22Affected if SSH daemon (sshd) is running and accessible on a network port
-
Verify SSH configuration uses default parallel_loginInspect SSH daemon configuration files or runtime settings for the 'parallel_login' option; if not explicitly set, it defaults to trueAffected if parallel_login is set to true (default) or not explicitly configured to false
-
Check max_sessions configurationReview SSH daemon settings for 'max_sessions' value; higher values increase DoS impactAffected 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.
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 · scopedUpgrade 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.
OTP-27.3.1 (or 26.2.5.10 or 25.3.2.19 depending on your major version branch)
- 1. Identify the current Erlang/OTP version in use by running 'erl -version' or checking your deployment configuration
- 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. For Debian systems, upgrade via: apt-get update && apt-get install erlang
- 4. For source builds, download the appropriate version from https://www.erlang.org/downloads
- 5. After upgrading, verify the new version is running: erl -version
- 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)
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation2.0 h
- Implementation4.0 h
- Testing4.0 h
- Review / QA2.0 h
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 locallyCheck 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 sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2025-30211 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
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.
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.
- 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