CVE-2025-48040
Malicious Key Exchange Messages may Lead to 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 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.
Fixes and workarounds
Workaround
* set option parallel_login to false * reduce max_sessions option
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFFix
The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.
Source: CNA: EEFAffected products and versions
| Product | Versions | Authority |
|---|---|---|
| OTP Erlang otp
software-id |
≥ 17.0; < * (affected, otp); unaffected at 26.2.5.15; unaffected at 27.3.4.3; unaffected at 28.0.3
Other versions: unaffected |
CNA: EEF |
| OTP Erlang ssh
otp |
≥ 3.0.1; < * (affected, otp); unaffected at 5.1.4.12; unaffected at 5.2.11.3; unaffected at 5.3.3
Other versions: unaffected |
CNA: EEF |
| OTP Erlang erlang/otp
github |
≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79; < * (affected, git); unaffected at 548f1295d86d0803da884db8685cc16d461d0d5a; unaffected at 7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a
Other versions: unaffected |
CNA: EEF |
Version ranges are source assertions. Check the vendor advisory and your installed configuration before determining exposure.
CVSS assessments
| Version / score | Vector | Authority |
|---|---|---|
| 4.0 / 6.9 medium |
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N | CNA: EEF |
Exploit evidence
No exploit evidence in collected sources. This is not proof of no exploitation.
References
- https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cphCNA: EEF · vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2025-48040.htmlCNA: EEF · related
- https://osv.dev/vulnerability/EEF-CVE-2025-48040CNA: EEF · related
- https://www.erlang.org/doc/system/versions.html#order-of-versionsCNA: EEF · x_version-scheme
- https://github.com/erlang/otp/pull/10162CNA: EEF · patch
- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79CNA: EEF · related
- https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5aCNA: EEF · patch
- https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181aCNA: EEF · patch
For agents and automation
Read public disclosures for free as Markdown or JSON. Compatible browsers also expose native WebMCP tools to search disclosures, read this page, and discover API access.
Use the ontology-linked Cyber API with x402 pay per request, or a Y2 Pro or Elite API key with the intel:cyber scope.
Endpoints and access details
https://api.y2.dev/api/v2/cyber/cveshttps://api.y2.dev/api/v2/cyber/cves/{cveId}
A workspace owner or admin can create a Pro or Elite API key. Send Authorization: Bearer <Y2_API_KEY> from your trusted agent runtime.
For x402, omit Authorization and read the HTTP 402 payment challenge before signing a retry. Public browser tools do not make payments.