Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-54886

MEDIUM 5.3EPSS 41%

SSH SFTP server denial of service via extended channel data infinite loop

Mitigation

  • Vendor workaround: * Set the max_channels daemon option to a finite value (e.g., {max_channels, 10}) to limit the number of channels an attacker can open per connection.
  • * Set the max_sessions daemon option to limit total concurrent SSH connections to the daemon.
  • * Use external process monitoring to detect and kill ssh_sftpd processes with abnormally high reduction counts and growing message queues.
  • * Ensure that the SFTP server port is not reachable from untrusted machines.

Who should check

  • Anyone running Erlang OTP >= 3.0.1, < *
  • Anyone running Erlang OTP >= 17.0, < *
  • Anyone running Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < eaf9550b8ad4738b81149d3f617102d980c6dd18

Vulnerability facts

Affected
Erlang OTP >= 3.0.1, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < eaf9550b8ad4738b81149d3f617102d980c6dd18
Fixed in
No fix listed yet
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, login needed
CVSS
5.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: Low
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.57% chance of exploitation in 30 days (percentile 41, 2026-11-26)
CWE
CWE-835, CWE-400
Published
Modified

Description

Loop with Unreachable Exit Condition ('Infinite Loop') vulnerability in Erlang OTP ssh (ssh_sftpd module) allows an authenticated SFTP user to render an SFTP channel permanently unresponsive. The handle_data/4 function in ssh_sftpd contains a catch-all clause that accepts channel data of any type. When channel data with a non-zero type code (SSH_MSG_CHANNEL_EXTENDED_DATA) arrives with an empty pending buffer and a payload at or below the SFTP packet size limit, the clause tail-calls itself with identical arguments, creating an infinite loop. The SFTP protocol operates exclusively on normal channel data (type 0). Extended data (non-zero type) is meaningless for SFTP and is never sent by conforming clients. However, the SSH protocol permits any channel participant to send extended data on an open channel, so an authenticated SFTP client can trigger the loop by sending SSH_MSG_CHANNEL_EXTENDED_DATA with any data_type_code and any non-empty payload at or below the size limit. The targeted ssh_sftpd process enters an infinite tail-recursive loop. It never processes another message, its message queue grows without bound, and it can only be stopped by killing the process. BEAM's reduction-based scheduler preemption continues to function, so other processes on the node are not starved, but each stuck channel process consumes its full CPU time share continuously and accumulates unbounded message queue memory. Opening many channels amplifies the CPU and memory impact. Erlang/OTP SSH configurations using the default max_channels setting (infinity) allow an authenticated user to open unlimited channels per connection, amplifying the attack without requiring multiple TCP connections or authentications. No file contents, credentials, or write access are obtainable through this issue. The impact is limited to denial of service on targeted SFTP channels, with secondary CPU degradation and memory growth. This vulnerability is associated with program file lib/ssh/src/ssh_sftpd.erl and program routine ssh_sftpd:handle_data/4. This issue affects OTP from OTP 17.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssh from 3.0.1 before 5.2.11.9, 5.5.2.2, and 6.0.2. Whether OTP before OTP 17.0, corresponding to ssh before 3.0.1, is affected is unknown.

Affected and fixed versions

Package / productAffectedFixedSource
Erlang OTP>= 3.0.1, < *—cvelist
Erlang OTP>= 17.0, < *—cvelist
Erlang OTP>= 84adefa331c4159d432d22840663c38f155cd4c1, < eaf9550b8ad4738b81149d3f617102d980c6dd18—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-54886. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54886.md
Affected: Erlang OTP >= 3.0.1, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < eaf9550b8ad4738b81149d3f617102d980c6dd18
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-54886 being exploited?

There is no confirmed exploitation: CVE-2026-54886 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-54886?

Medium: CVSS 5.3 (v4.0, scored by CNA). Remote, login needed.

Which versions are affected by CVE-2026-54886?

Erlang OTP >= 3.0.1, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < eaf9550b8ad4738b81149d3f617102d980c6dd18.

Is there a fix for CVE-2026-54886?

No fixed version is listed in the sources yet. Vendor workaround: * Set the max_channels daemon option to a finite value (e.g., {max_channels, 10}) to limit the number of channels an attacker can open per connection. * Set the max_sessions daemon option to limit total concurrent SSH connections to the daemon. * Use external process monitoring to detect and kill ssh_sftpd processes with abnormally high reduction counts and growing message queues. * Ensure that the SFTP server port is not reachable from untrusted machines.

How do I check if I'm affected by CVE-2026-54886?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors