CVE Program
CNA-CVE-2025-48040
Malicious Key Exchange Messages may Lead to Excessive Resource Consumption
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Erlang | otp | From 17.0 before 26.2.5.15 (fixed in 26.2.5.15) From 27 before 27.3.4.3 (fixed in 27.3.4.3) From 28 before 28.0.3 (fixed in 28.0.3) |
References
- https://www.cve.org/CVERecord?id=CVE-2025-48040
- https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph
- https://cna.erlef.org/cves/CVE-2025-48040.html
- https://osv.dev/vulnerability/EEF-CVE-2025-48040
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/pull/10162
- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79
- https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a
- https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a