CVE-2026-54886
SSH SFTP server denial of service via extended channel data infinite loop
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.331% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 5.3 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49dbCVSS: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
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 4.0 · 5.3 · published by EEFCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:50.073Z
CVSS 4.0 · 5.3 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:50:13.427Z
CVSS 3.1 · 4.3 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 4.3 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L
Assessment source · checked 2026-11-19T12:50:13.427Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:35.955Z | NVD |
| epss | verified | 2026-11-19T16:04:52.292Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:50:13.427Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:50.073Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:50.073Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: ssh_sftpd; default status: unknown: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.14","status":"unaffected"},{"at":"28.5.0.3","status":"unaffected"},{"at":"29.0.3","status":"unaffected"}] Erlang OTP; modules: ssh_sftpd; default status: unknown: 3.0.1 to < * [affected; scheme: otp]; changes: [{"at":"5.2.11.9","status":"unaffected"},{"at":"5.5.2.2","status":"unaffected"},{"at":"6.0.2","status":"unaffected"}] Erlang OTP; modules: ssh_sftpd; default status: unknown: 84adefa331c4159d432d22840663c38f155cd4c1 to < eaf9550b8ad4738b81149d3f617102d980c6dd18 [affected; scheme: git]; eaf9550b8ad4738b81149d3f617102d980c6dd18 to < * [unaffected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"ssh_sftpd"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.14",
"status": "unaffected"
},
{
"at": "28.5.0.3",
"status": "unaffected"
},
{
"at": "29.0.3",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/ssh/src/ssh_sftpd.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_sftpd:handle_data/4"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"ssh_sftpd"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "5.2.11.9",
"status": "unaffected"
},
{
"at": "5.5.2.2",
"status": "unaffected"
},
{
"at": "6.0.2",
"status": "unaffected"
}
],
"version": "3.0.1",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/ssh?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "ssh",
"programFiles": [
"src/ssh_sftpd.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_sftpd:handle_data/4"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"ssh_sftpd"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "eaf9550b8ad4738b81149d3f617102d980c6dd18",
"versionType": "git"
},
{
"status": "unaffected",
"version": "eaf9550b8ad4738b81149d3f617102d980c6dd18",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/ssh/src/ssh_sftpd.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "ssh_sftpd:handle_data/4"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-54886",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-02T17:27:25.414155Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-02T17:27:30.648Z"
}
}
]
}Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm4",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "ignored",
"component": null,
"description": "end of life, was needs-triage",
"release_codename": "questing"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:29.0.3+dfsg-1",
"release_codename": "upstream"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.8",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.8",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.2",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm3",
"release_codename": "trusty"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm4",
"release_codename": "xenial"
}
]
}
]Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "863CA902-6EB1-46CB-BC52-22F3AC6B4A14",
"versionEndExcluding": "27.3.4.14",
"versionStartIncluding": "17.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "230E3EE3-6A18-4848-8E3D-DB0FAA8EDFDC",
"versionEndExcluding": "28.5.0.3",
"versionStartIncluding": "28.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "5D2D0C24-E302-48BF-9550-CCC7ABA24BED",
"versionEndExcluding": "29.0.3",
"versionStartIncluding": "29.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/ssh:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "95A15E38-CAD2-4125-8BE5-459E49DFC7A1",
"versionEndExcluding": "5.2.11.9",
"versionStartIncluding": "3.0.1"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/ssh:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "DB94AEFD-9387-4C22-B323-D0E5CB5D0E75",
"versionEndExcluding": "5.5.2.2",
"versionStartIncluding": "5.3"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/ssh:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4304282D-4C02-4CE4-AB77-476A763C1F69",
"versionEndExcluding": "6.0.2",
"versionStartIncluding": "6.0"
}
],
"operator": "OR"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm4 | Official record |
| upstream-note | upstream / upstream | erlang | Not a distribution channel | 1:29.0.3+dfsg-1 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm3 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.8 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.8 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.2 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm3 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm4 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T12:50:13.427ZArchived source JSON
Source publication: 2026-07-02T17:17:00.000Z
Source modification: 2026-11-18T10:43:23.094ZDocument fingerprint
d5cb07a84ea1fc835a9b660805f32861172c667903e8a11c05f4b83f7127320c - NVDConsulted: 2026-11-19T12:41:35.955ZArchived source JSON
Source publication: 2026-07-02T17:17:02.387Z
Source modification: 2026-11-11T19:17:41.497ZDocument fingerprint
e759e6d1e6804b37fd78e80e5e8ae7f3aeb60cbc655f9954c7d95508e6d7a6be - CVE ProgramConsulted: 2026-11-19T12:58:50.073ZArchived source JSON
Source publication: 2026-07-02T16:06:20.502Z
Source modification: 2026-11-11T18:55:39.707ZDocument fingerprint
09037d9a5cfedef265d61f91eb512b02fecd9826dc977a843273596e0dbe6a30 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:52.292ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0d84b03fefd8b98c35ff48b41c93fc695fb5d5ea3135764678445722abcd97c6
Official status history
- UNKNOWN → PUBLISHED · · evidence