Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

AI Predicted 6.5 Difficulty: Easy EPSS 0.33% · P25

Affected Version Matrix 3

VendorProductVersion RangeStatus
ErlangOTP3.0.1< *affected
17.0< *affected
84adefa3318eef8631bf25cd233246a86eea18cd< eaf9550b8ad4738b81149d3f617102d980c6dd18affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-54886

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SSH SFTP server denial of service via extended channel data infinite loop
Source: CVE Program / CVE List V5
Vulnerability 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 until OTP 29.0.3, 28.5.0.3, and 27.3.4.14 corresponding to ssh from 3.0.1 until 6.0.2, 5.5.2.2, and 5.2.11.9.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
不可达退出条件的循环(无限循环)
Source: CVE Program / CVE List V5
Vulnerability Title
Erlang/OTP 资源管理错误漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
erlang erlang/otp是erlang社区开源的一套并发编程语言及运行时系统。 Erlang/OTP存在资源管理错误漏洞,该漏洞源于ssh_sftpd模块的handle_data/4函数存在无法到达退出条件的循环(无限循环),导致经过身份验证的SFTP用户发送带有非零类型代码的数据时进入无限循环,从而使SFTP通道永久无响应。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
ErlangOTP 3.0.1 ~ * cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*
ErlangOTP 17.0 ~ * cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-54886

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54886

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54886 (1)

Vendor Advisories for CVE-2026-54886 (3)

Same Patch Batch · Erlang · 2026-07-02 · 6 CVEs total

CVE-2026-53422SFTP REALPATH path-existence oracle allowing filesystem enumeration outside configured roo
CVE-2026-54887DTLS server cookie bypass during startup window due to empty initial cookie secret
CVE-2026-54891Plaintext APPLICATION_DATA injected during TLS handshake delivered to client application p
CVE-2026-55950DTLS listener crash via race condition in dtls_packet_demux causes denial of service for a
CVE-2026-55952TLS 1.3 server denial of service via malformed ClientHello pre-shared key extension

IV. Related Vulnerabilities

V. Comments for CVE-2026-54886

No comments yet


Leave a comment