CVE-2026-68956
SSH daemon allocates unbounded idle session channels, bypassing max_channels
Check your servers for CVE-2026-68956
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2026-68956 affects otp, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
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 18.1.2 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to ssh from 4.1.1 before 5.2.11.13, 5.5.2.6, and 6.0.6. Whether OTP before OTP 18.1.2, corresponding to ssh before 4.1.1, is affected is unknown.
Severity (CVSS)
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
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Attack requirements
- none: an attack works without special conditions on the target
- Privileges required
- low: the attacker needs an ordinary user account
- User interaction
- none: nobody has to click or open anything
- Impact on the vulnerable system
- confidentiality none, integrity none, availability high: what an attacker can read, change or stop in the vulnerable component
- Impact on other systems
- confidentiality none, integrity none, availability none: what an attacker can read, change or stop beyond it
Exploitation
EPSS 0.49%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 43.7% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 22 Sep 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-770 Allocation of Resources Without Limits or Throttling
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
|
OTP
package
ssh |
affected 4.1.1 and later (unaffected from 5.2.11.13, unaffected from 5.5.2.6, unaffected from 6.0.6)
Other versions: unknown
|
|
OTP
package
otp |
affected 18.1.2 and later (unaffected from 27.3.4.18, unaffected from 28.5.0.7, unaffected from 29.1.1)
Other versions: unknown
|
|
OTP
package
erlang/otp |
affected 84df3d4d0278e21a36a453bfee94799f0df67c2a and later (unaffected from 79c2d2be17d902c5f53969b5806b725efda831be, unaffected from e18100975f0e5a8d59d02de00df12247a91b443b, unaffected from e2bbad0107bba41491a4d549686fd023db8740da) unaffected 79c2d2be17d902c5f53969b5806b725efda831be and later unaffected e18100975f0e5a8d59d02de00df12247a91b443b and later unaffected e2bbad0107bba41491a4d549686fd023db8740da and later
Other versions: unknown
|
Is my server affected?
Find the installed version of otp and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i otp
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2026-68956 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2026-68956RHEL, Rocky, Alma, Fedora
rpm -q otp
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2026-68956Alpine
apk list --installed | grep -i otpWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2026-68956
trivy image --scanners vuln IMAGE | grep CVE-2026-68956
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- GitHub Advisory github.com · related, vendor advisory
Patches and release notes
- Fix commit 79c2d2b in erlang/otp github.com · patch
- Fix commit e181009 in erlang/otp github.com · patch
- Fix commit e2bbad0 in erlang/otp github.com · patch
Other references
- EEF CNA record for CVE-2026-68956 cna.erlef.org · related
- OSV record EEF-CVE-2026-68956 osv.dev · related
- Erlang/OTP version ordering erlang.org
- Introducing commit 84df3d4 in erlang/otp github.com · related
Source: the record CVE-2026-68956 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse