Skip to main content

Erlang/OTP SSH CVE-2026-68956

| EUVDEUVD-2026-84339 HIGH
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-09-22 EEF
7.1
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate to OTP SSH daemon
  2. Delivery
    Open many 'session' channels
  3. Exploit
    Never request handler (shell/exec/subsystem)
  4. Execution
    Records accumulate in ETS cache
  5. Impact
    Node memory exhausted, emulator terminates

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an attacker able to complete SSH authentication (PR:L) against a host running the Erlang/OTP ssh daemon (server mode); no user interaction and no special non-default configuration are needed, and critically the documented max_channels daemon option does NOT limit the attack because it only counts channels with active supervisor-backed handlers. Affected: OTP 17.0 before 27.3.4.18 / 28.5.0.7 / 29.1.1 (ssh 3.0.1 before 5.2.11.13 / 5.5.2.6 / 6.0.6). The primary limiting factor is the need for valid credentials; the impact is amplified because a crash of the BEAM node terminates every application sharing that emulator, not just the SSH service.

Impact

This is a genuine but bounded availability risk. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H, score 7.1) tells a consistent story: network-reachable, low complexity, but requiring valid credentials (PR:L) and yielding availability-only impact - no confidentiality or integrity loss, which the description explicitly confirms ('No file contents, credentials, or write access are obtainable'). No EPSS score, CISA KEV entry, or public POC is present in the supplied intelligence, so there is no signal of active or automated exploitation - this is not a drop-everything item. It rates above a trivial DoS because a single authenticated connection can crash the entire BEAM node and take down every application co-hosted on that emulator, and because the documented max_channels mitigation is ineffective (the limit counts supervisor children, so handlerless channels evade it entirely). The most important caveat for defenders is the authentication requirement: exploitation presupposes an attacker who can already complete SSH authentication to the OTP ssh daemon, which sharply narrows the realistic threat population to insiders or holders of compromised/legitimate credentials. Score reflects impact-if-triggered, not likelihood; treat as a patch-in-normal-cycle availability bug rather than an emergency.

Exploit ScenarioDerived

An attacker with valid credentials authenticates to an Erlang/OTP SSH daemon and, over a single connection, repeatedly sends SSH_MSG_CHANNEL_OPEN 'session' requests without ever requesting a shell, exec, or subsystem. Each handlerless channel silently accumulates a #channel{} record in the ETS cache - invisible to the max_channels limit - until the node exhausts memory and the emulator terminates, taking down every application on it. No public exploit code is identified in the supplied data, but the technique is straightforward given the detailed root-cause analysis.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Authenticated remote attackers can exhaust node memory on Erlang/OTP SSH daemons by repeatedly opening "session" channels that never receive a shell, exec, or subsystem handler, eventually driving the BEAM emulator out of memory and terminating it - which kills every application sharing that node, not just the SSH service. The flaw (CWE-770) affects OTP 17.0 through 27.3.4.18, 28.5.0.7, and 29.1.1 (ssh 3.0.1 through 5.2.11.13, 5.5.2.6, and 6.0.6); an attacker must be able to complete SSH authentication first, but no user interaction, special configuration, or valid file/credential access is required, and CVSS scores it 7.1 (CVSS 4.0 availability-high, PR:L). No public exploit identified at time of analysis, and vendor-released patches are available. The documented max_channels daemon option does not mitigate the attack, so operators cannot rely on it as a stopgap.

RemediationAI

Vendor-released patch: upgrade to OTP 27.3.4.18, 28.5.0.7, or 29.1.1 (ssh 5.2.11.13, 5.5.2.6, or 6.0.6 respectively) - these are the versions in which the max_channels enforcement moved into ssh_client_channel:cache_insert/3 so that handler-less session channels are counted. The upstream fixes are in commits 79c2d2be17d902c5f53969b5806b725efda831be, e18100975f0e5a8d59d02de00df12247a91b443b, and e2bbad0107bba41491a4d549686fd023db8740da; see https://github.com/erlang/otp/security/advisories/GHSA-qhcm-px9c-rvfh. Because the max_channels daemon option is ineffective against this attack in unpatched releases, rely on compensating controls until you can upgrade: restrict SSH access on the affected port to trusted source addresses or accounts via firewall/ACLs, and cap how many concurrent SSH sessions each credential may hold (trade-off: blocks legitimate multiplexed or CI-driven connections); enforce an OS-level memory ceiling on the node (systemd MemoryMax, cgroups, or ulimit -v) so an out-of-memory event is contained rather than taking down the host (trade-off: the BEAM node will still terminate on hitting the cap, but co-located workloads on other nodes are protected); and monitor for anomalous channel-open rates per authenticated connection, since each channel costs only a few hundred bytes before exhaustion (trade-off: detection lag if opens are spaced out). Isolating SSH-serving nodes from other critical applications on the same BEAM emulator reduces blast radius, as any crash terminates every application in that emulator.

Affected VersionsENISA

otp 3.0.1 <*
otp 84adefa331c4159d432d22840663c38f155cd4c1 <*
otp 17.0 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Erlang/OTP's ssh application implements RFC 4254 channel semantics. In the vulnerable code path, the "session" clause of ssh_connection:handle_msg/4 only performs a minimal_remote_max_packet_size check before calling setup_session/5, which unconditionally constructs a #channel{} record and inserts it into the ETS channel cache. The max_channels daemon option is enforced only by ssh_channel_sup:max_num_channels_not_exceeded/2, which counts supervisor children of type ssh_server_channel - so a channel opened but never assigned a shell, exec, or subsystem handler is never registered as a supervisor child and is invisible to the limit; setting max_channels to a finite value therefore does not mitigate the issue. RFC 4254 section 5.1 explicitly permits many session channels per connection, and each cached record costs only a few hundred bytes, so a single authenticated connection can accumulate channel records without bound. This is CWE-770 (Allocation of Resources Without Limits or Throttling). The upstream fix (commit 79c2d2be) relocates enforcement into the channel cache itself: ssh_client_channel gains cache_insert/3, which checks cache_info(num_entries, Cache) against a Limit derived from ?GET_OPT(max_channels, SSHopts) and returns {error, max_num_channels_exceeded} before insertion; ssh_channel_sup:start_child/7 drops its Opts argument and the max_num_channels_not_exceeded/2 helper is removed, and the ssh.hrl documentation is updated to clarify that the limit now covers all accepted channels, including those auto-opened for port forwarding. The assessed vector is AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - availability-only impact, no confidentiality or integrity loss, no file contents, credentials, or write access obtainable.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 7.1 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 6.5 MEDIUM

Network-reachable and low-complexity but requires SSH authentication (PR:L); availability-only impact (A:H), no C/I; S:U to match vendor scoping, though S:C is defensible since the whole-node crash affects co-hosted apps.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
SUSE 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Allocation of Resources Without Limits or Throttling vulnerability in Erlang/OTP ssh allows an authenticated remote attacker to exhaust node memory by repeatedly opening session channels that are never assigned a handler.

The "session" clause of ssh_connection:handle_msg/4 checks only minimal_remote_max_packet_size before calling setup_session/5, which unconditionally builds a #channel{} record and stores it in the ETS channel cache. The max_channels daemon option is consulted only by ssh_channel_sup:max_num_channels_not_exceeded/2, which counts supervisor children, so a channel that never gets a shell, exec, or subsystem handler is invisible to the limit and setting the option to a finite value does not mitigate the attack. RFC 4254 section 5.1 permits many session channels per connection, and each record costs only a few hundred bytes, so a single authenticated connection can accumulate channels until the node runs out of memory and the emulator terminates, affecting every application on it. No file contents, credentials, or write access are obtainable.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssh from 3.0.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP 17.0, corresponding to ssh before 3.0.1, is affected is unknown.

Technical POC Analysis

CWE-770 (Allocation of Resources Without Limits or Throttling) in the ssh application shipped with Erlang/OTP.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Erlang/OTP's SSH daemon (OTP 17.0 through the 27.x, 28.x, and 29.x lines noted below) can be crashed by any user who can authenticate, exhausting node memory until the BEAM emulator terminates - taking down every application hosted on that node, not just SSH. Because the affected nodes typically run multiple production services in a shared runtime, a single authenticated actor can trigger a broad, cross-application outage. Leadership should care because this converts routine SSH access into a high-availability risk across any product built on Erlang/OTP, and the documented max_channels setting does not stop it.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.5%
Top 60% exploitable
Prevalence
Medium
Erlang/OTP runtime is widely deployed, but the exposed ssh daemon is a narrower subset
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

36
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +36
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy