cve.bz

CVE-2026-54886 SSH SFTP server denial of service via extended channel data infinite loop

5.3 mediumEPSS 0.3%Fix available

Medium (5.3) in erlang. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 4.0

5.3 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

CVSS 3.1

4.3 medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 27th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-07-02. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-400 Uncontrolled Resource Consumption
CWE-835 Loop with Unreachable Exit Condition (Infinite Loop)
Published
Modified
Assigned by
EEF (CNA)
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-54886 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-54886?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-54886?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-54886 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

  • erlang:erlang\/otp
  • erlang:erlang\/ssh

Versions

From the CNA's record in the CVE List.

ProductAffected
Erlang OTP3.0.1 and later
Erlang OTP17.0 and later

Fixed in

ProductFixed in
Erlang OTP5.2.11.9
Erlang OTP5.5.2.2
Erlang OTP6.0.2
Erlang OTP27.3.4.14
Erlang OTP28.5.0.3
Erlang OTP29.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12erlangno fix listedDEBIAN-CVE-2026-54886
Debian13erlang1:27.3.4.1+dfsg-1+deb13u3DEBIAN-CVE-2026-54886 DSA-6464-1
Debian14erlang1:29.0.3+dfsg-1DEBIAN-CVE-2026-54886
Ubuntu22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.8UBUNTU-CVE-2026-54886 USN-8901-1
Ubuntu24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.8UBUNTU-CVE-2026-54886 USN-8901-1
Ubuntu25.10erlangno fix listedUBUNTU-CVE-2026-54886
Ubuntu26.04:LTSerlang1:27.3.4.6+dfsg-1ubuntu0.2UBUNTU-CVE-2026-54886 USN-8901-1
UbuntuPro:14.04:LTSerlang1:16.b.3-dfsg-1ubuntu2.2+esm3UBUNTU-CVE-2026-54886 USN-8901-1
UbuntuPro:16.04:LTSerlang1:18.3-dfsg-1ubuntu3.1+esm4UBUNTU-CVE-2026-54886 USN-8901-1
UbuntuPro:18.04:LTSerlang1:20.2.2+dfsg-1ubuntu2+esm4UBUNTU-CVE-2026-54886 USN-8901-1
UbuntuPro:20.04:LTSerlang1:22.2.7+dfsg-1ubuntu0.5+esm3UBUNTU-CVE-2026-54886 USN-8901-1
Red Hathummingbird:1erlang27, erlang27-et, erlang27-wx and 36 more0:27.3.4.17-1.hum1RHSA-2026:63160
SUSELinux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise High Performance Computing 15 SP5-ESPOS and 8 moreerlang23.3.4.19-150300.3.39.1SUSE-SU-2026:3645-1
SUSELinux Enterprise Module for Server Applications 15 SP7, Linux Enterprise Server 15 SP6-LTSS, Linux Enterprise Server for SAP Applications 15 SP6erlang2626.2.1-150300.7.28.1SUSE-SU-2026:3579-1
openSUSETumbleweederlang28.5.0.4-1.1openSUSE-SU-2026:11559-1
openSUSETumbleweederlang2727.1.3-3.1openSUSE-SU-2026:11560-1
Azure Linux3erlang26.2.5.21-4AZL-92021

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

A denial-of-service vulnerability was found in the ssh_sftpd module of Erlang/OTP. An authenticated SFTP user can send SSH_MSG_CHANNEL_EXTENDED_DATA messages that trigger an infinite tail-recursive loop in the ssh_sftpd:handle_data/4 function, rendering the targeted SFTP channel permanently unresponsive, with secondary CPU and memory consumption.

Red Hat's mitigation

Set the max_channels daemon option to a finite value instead of the default 'infinity' to limit the number of channels an authenticated user can open per connection, reducing the amplification potential of this vulnerability.

ProductPackageStateAdvisory
Red Hat Hardened Imageserlang27-main-27.3.4.17-1.hum1Fixed 2026-09-03RHSA-2026:63160
Red Hat OpenStack Platform 16.2erlangFix deferred
Red Hat OpenStack Platform 17.1erlangFix deferred
Red Hat OpenStack Platform 18.0erlangFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-54886.

Attack patterns (CAPEC)

  • CAPEC-147 XML Ping of the Death Likelihood: Low · Severity: Medium
  • CAPEC-227 Sustained Client Engagement
  • CAPEC-492 Regular Expression Exponential Blowup

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON