CVE-2025-48040 Details
Description
Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl. This issue affects OTP from OTP 17.0 before OTP 26.2.5.15, OTP 27.3.4.3, and OTP 28.0.3, corresponding to ssh from 3.0.1 before 5.1.4.12, 5.2.11.3, and 5.3.3.
A vulnerability allowing uncontrolled resource consumption has been identified in the SSH SFTP module of Erlang OTP. This issue, present in OTP versions 17.0 through 28.0.3, as well as in specific 26.x and 27.x versions, arises from the SSH implementation being overly permissive with data from unauthenticated users. Malicious key exchange messages can be crafted to exploit this, leading to excessive CPU and memory usage. The vulnerability is linked to the handling of KEXINIT messages, where a large number of validly sized algorithms can be specified, or cryptographic parameters of excessive size can be introduced, causing disproportionate processing of exception data.
Users can update to Erlang OTP versions 28.0.4, 27.3.4.3, or 26.2.5.15, where this vulnerability has been patched. Instructions for applying the update can be found in the Erlang/OTP documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 11, 2025CISA-ADP
Assessed Sep 11, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://cna.erlef.org/cves/CVE-2025-48040.html | EEF | |
| https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79 | EEF | |
| https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a | EEF | Source CodeVendor |
| https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a | EEF | Source CodeVendor |
| https://github.com/erlang/otp/pull/10162 | EEF | Issue TrackingVendor |
| https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph | EEF | AdvisoryRemedyVendor |
| https://osv.dev/vulnerability/EEF-CVE-2025-48040 | EEF | |
| https://www.erlang.org/doc/system/versions.html#order-of-versions | EEF | Vendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-400 | Uncontrolled Resource Consumption | EEF |
| CWE-770 | Allocation of Resources Without Limits or Throttling | EEF |
Affected Products
| Product | Versions |
|---|---|
| Erlang OTP | >= 17.0, <= 28.0.3 |
CPE
Remediation
| |
| Erlang OTP ssh | >= 17.0, <= 28.0.3 |
CPE
Remediation
| |
Change History
9 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 20, 2026 | CVE Modified | EEF |
| Nov 13, 2026 | CVE Translated | [email protected] |
| Nov 11, 2026 | CVE Modified | EEF |
| Jul 24, 2026 | CVE Modified | EEF |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | EEF |
| Jun 5, 2026 | CVE Modified | EEF |
| Apr 6, 2026 | CVE Modified | EEF |
| Sep 11, 2025 | New CVE Received | EEF |
Volerion