# CVE-2026-68956: SSH daemon allocates unbounded idle session channels, bypassing max_channels

> An authenticated attacker can exhaust node memory by opening unbounded idle SSH session channels, causing a denial of service.

- **Severity:** High 7.1 (`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`)
- **Exploited in the wild:** Not known
- **Login needed:** Any signed-in user
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 22 Sep 2026
- **Updated:** 24 Sep 2026
- **Also known as:** AZL-103425, DEBIAN-CVE-2026-68956, EEF-CVE-2026-68956, GHSA-qhcm-px9c-rvfh, UBUNTU-CVE-2026-68956

## What is CVE-2026-68956?

CVE-2026-68956 is a high-severity denial of service vulnerability in Erlang OTP, published on 22 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.

### Official 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.

Weakness: CWE-770 (Allocation of Resources Without Limits or Throttling)

## Which versions are affected by CVE-2026-68956?


## How do I fix CVE-2026-68956?

Upgrade to a fixed version.

## Is CVE-2026-68956 being exploited?

There is no known exploitation of CVE-2026-68956 in the wild and no public exploit code.

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-68956 and fix it if it is affected.

What it is: CVE-2026-68956 is a high-severity denial of service vulnerability in Erlang OTP, published on 22 Sep 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-68956 in the wild and no public exploit code.

Affected product: Erlang OTP. No package-level version data is available, so check the vendor advisory linked from the reference page.

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-68956/ (Markdown: https://insights.sbomify.com/CVE-2026-68956/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-68956
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-68956
- OSV: https://osv.dev/vulnerability/CVE-2026-68956

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-68956/
Summaries are generated and may contain mistakes; the official description above is the record.
