SSH SFTP server denial of service via extended channel data infinite loop
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 0.33% (FIRST EPSS).
- Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: Erlang OTP 27.3.4.14, 28.5.0.3, 29.0.3; azl3 erlang 26.2.5.21-2 on Azure Linux 3.0 26.2.5.21-3; azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 26.2.5.21-4.
Low priority for now. Upgrade to Erlang OTP 27.3.4.14, 28.5.0.3, 29.0.3; azl3 erlang 26.2.5.21-2 on Azure Linux 3.0 26.2.5.21-3; azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 26.2.5.21-4 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
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 29.0.3, OTP 28.5.0.3 and OTP 27.3.4.14, corresponding to ssh from 3.0.1 before 6.0.2, 5.5.2.2 and 5.2.11.9.
- Published
- Jul 2, 2026
- Updated
- Jul 24, 2026
- EPSS
- 0.3% · 24th percentile
- CWE
- CWE-400
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 21 / 40 · 5.3 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.3%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 5.3
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| erlang | erlang\/otp | cpe:2.3:a:erlang:erlang\/otp |
| erlang | erlang\/ssh | cpe:2.3:a:erlang:erlang\/ssh |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- erlang erlang/otp17.0 and later · before 27.3.4.14
- erlang erlang/otp28.0 and later · before 28.5.0.3
- erlang erlang/otp29.0 and later · before 29.0.3
- erlang erlang/ssh3.0.1 and later · before 5.2.11.9
- erlang erlang/ssh5.3 and later · before 5.5.2.2
- erlang erlang/ssh6.0 and later · before 6.0.2
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
Erlang OTP
- 3.0.1 and lateraffected · otpfixed in 6.0.2, 5.5.2.2, 5.2.11.9
- 17.0 and lateraffected · otpfixed in 29.0.3, 28.5.0.3, 27.3.4.14
- 84adefa3318eef8631bf25cd233246a86eea18cd and later · before eaf9550b8ad4738b81149d3f617102d980c6dd18affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | erlang | all versions | — |
| Debian:13 | erlang | before 1:27.3.4.1+dfsg-1+deb13u3 | 1:27.3.4.1+dfsg-1+deb13u3 |
| Debian:14 | erlang | before 1:29.0.3+dfsg-1 | 1:29.0.3+dfsg-1 |
| openSUSE:Tumbleweed | erlang | before 28.5.0.4-1.1 | 28.5.0.4-1.1 |
| openSUSE:Tumbleweed | erlang27 | before 27.1.3-3.1 | 27.1.3-3.1 |
| Red Hat:hummingbird:1 | erlang27 | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-asn1 | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-common_test | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-compiler | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-crypto | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-debugger | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-dialyzer | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-diameter | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-edoc | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-eldap | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-erl_interface | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-erts | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-et | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-eunit | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-examples | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-ftp | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-gdb-tools | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-inets | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
| Red Hat:hummingbird:1 | erlang27-jinterface | before 0:27.3.4.17-1.hum1 | 0:27.3.4.17-1.hum1 |
+22
Same product
erlang: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-32433Erlang/OTP SSH Vulnerable to Pre-Authentication RCEKEV100Now
- CVE-2022-37026In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in certain client-cert39Monitor
- CVE-2016-10253An issue was discovered in Erlang/OTP 18.x.39Monitor
- CVE-2026-55953TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication36Monitor
- CVE-2026-49759Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash35Monitor
- CVE-2026-59251Denial of service via exponential certificate policy tree growth in path validation34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Erlang OTP | 27.3.4.14 | Vendor (CNA) |
| Erlang OTP | 28.5.0.3 | Vendor (CNA) |
| Erlang OTP | 29.0.3 | Vendor (CNA) |
| Erlang OTP | 5.2.11.9 | Vendor (CNA) |
| Erlang OTP | 5.5.2.2 | Vendor (CNA) |
| Erlang OTP | 6.0.2 | Vendor (CNA) |
| Erlang OTP | eaf9550b8ad4738b81149d3f617102d980c6dd18 | Vendor (CNA) |
| azl3 erlang 26.2.5.21-2 on Azure Linux 3.0 | 26.2.5.21-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 | 26.2.5.21-4 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:erlang | 1:27.3.4.1+dfsg-1+deb13u3 · Debian:13 | Package registry (OSV) |
| opensuse:erlang | 28.5.0.4-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:erlang27 | 27.1.3-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:erlang27 | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-asn1 | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-common_test | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-compiler | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-crypto | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-debugger | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-dialyzer | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-diameter | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-edoc | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-eldap | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-erl_interface | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| red hat:erlang27-erts | 0:27.3.4.17-1.hum1 · Red Hat:hummingbird:1 | Package registry (OSV) |
| suse:erlang | 23.3.4.19-150300.3.39.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
| suse:erlang26 | 26.2.1-150300.7.28.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Jakub Witczakremediation reviewer
- Lukas Backströmfinder
- Michał Wąsowskiremediation developer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- A low-privileged account is enough.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- Low
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS vector
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) { return node.children.map(expand);}Fixed
const MAX_DEPTH = 32;function expand(node, depth = 0) { if (depth > MAX_DEPTH) throw new Error("too deep"); return node.children.map((c) => expand(c, depth + 1));}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (4 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.