CVE-2025-48040
published 2025-09-11CVE-2025-48040: Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding. This vulnerability is associated…
PriorityP337medium6.9CVSS 4.0
AVNACLATNPRNUINVCNVINVALSCNSINSANEXCRXIRXARXMAVXMACXMATXMPRXMUIXMVCXMVIXMVAXMSCXMSIXMSAXSXAUXRXVXREXUX
EPSS
0.40%
32.0th percentile
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 until OTP 28.0.3, OTP 27.3.4.3 and 26.2.5.15 corresponding to ssh from 3.0.1 until 5.3.3, 5.2.11.3 and 5.1.4.12.
Affected
7 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | erlang | < erlang 1:27.3.4.3+dfsg-1 (forky) | erlang 1:27.3.4.3+dfsg-1 (forky) |
| erlang | otp | >= 07b8f441ca711f9812fad9e9115bab3c3aa92f79 < * | * |
| erlang | otp | >= 17.0 < * | * |
| erlang | otp | >= 3.0.1 < * | * |
| msrc | azl3_erlang_26.2.5.13-1_on_azure_linux_3.0 | — | — |
| msrc | cbl2_erlang_25.3.2.21-2_on_cbl_mariner_2.0 | — | — |
| msrc | cbl2_erlang_25.3.2.21-4_on_cbl_mariner_2.0 | — | — |
CVSS provenance
nvdv4.06.9MEDIUMCVSS:4.0/AV:N/AC:L/AT:N/PR:N/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
osv6.9MEDIUM
vendor_debian6.9MEDIUM
vendor_redhat6.9MEDIUM
vendor_msrc5.3MEDIUM
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
Ubuntu
Erlang vulnerabilities
vendor_ubuntu·2025-10-21
CVE-2025-48041 Erlang vulnerabilities
Title: Erlang vulnerabilities
Summary: Several security issues were fixed in Erlang.
It was discovered that Erlang incorrectly handled resource allocation and
consumption in the SFTP SSH module. An attacker could possibly use this
issue cause Erlang to consume excessive resources, leading to a denial of
service.
Instructions: After a standard system update you need to reboot your computer to make all
the necessary changes.
Red Hat
erlang: Erlang Excessive Resource Consumption
vendor_redhat·2025-09-11·CVSS 6.9
CVE-2025-48040 [MEDIUM] CWE-770 erlang: Erlang Excessive Resource Consumption
erlang: Erlang Excessive Resource Consumption
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 form OTP 17.0 until OTP 28.0.3, OTP 27.3.4.3 and 26.2.5.15 corresponding to ssh from 3.0.1 until 5.3.3, 5.2.11.3 and 5.1.4.12.
A resource exhaustion flaw has been discovered in the Erlang OTP. Malicious key exchange messages may lead to excessive CPU and memory usage due to overly tolerant handling of data received from unauthenticated users.
Mitigation: Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deploy
Microsoft
Malicious Key Exchange Messages may Lead to Excessive Resource Consumption
vendor_msrc·2025-09-09·CVSS 5.3
CVE-2025-48040 [MEDIUM] CWE-400 Malicious Key Exchange Messages may Lead to Excessive Resource Consumption
Malicious Key Exchange Messages may Lead to Excessive Resource Consumption
FAQ: Is Azure Linux the only Microsoft product that includes this open-source library and is therefore potentially affected by this vulnerability?
One of the main benefits to our customers who choose to use the Azure Linux distro is the commitment to keep it up to date with the most recent and most secure versions of the open source libraries with which the distro is composed. Microsoft is committed to transparency in this work which is why we began publishing CSAF/VEX in October 2025. See this blog post for more information. If impact to additional products is identified, we will update the CVE to reflect this.
Mariner: Mariner
EEF: EEF
Customer Action Required: Yes
Remediation: CBL-Mariner Releases
Reference
Debian
CVE-2025-48040: erlang - Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modu...
vendor_debian·2025·CVSS 6.9
CVE-2025-48040 [MEDIUM] CVE-2025-48040: erlang - Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modu...
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 form OTP 17.0 until OTP 28.0.3, OTP 27.3.4.3 and 26.2.5.15 corresponding to ssh from 3.0.1 until 5.3.3, 5.2.11.3 and 5.1.4.12.
Scope: local
bookworm: open
bullseye: open
forky: resolved (fixed in 1:27.3.4.3+dfsg-1)
sid: resolved (fixed in 1:27.3.4.3+dfsg-1)
trixie: resolved (fixed in 1:27.3.4.1+dfsg-1+deb13u1)
OSV
CVE-2025-48040: Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding
osv·2025-09-11·CVSS 6.9
CVE-2025-48040 [MEDIUM] CVE-2025-48040: Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding
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 form OTP 17.0 until OTP 28.0.3, OTP 27.3.4.3 and 26.2.5.15 corresponding to ssh from 3.0.1 until 5.3.3, 5.2.11.3 and 5.1.4.12.
No detection rules found.
No public exploits indexed.
https://cna.erlef.org/cves/CVE-2025-48040.htmlhttps://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5ahttps://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181ahttps://github.com/erlang/otp/pull/10162https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cphhttps://osv.dev/vulnerability/EEF-CVE-2025-48040https://www.erlang.org/doc/system/versions.html#order-of-versions
2025-09-11
Published