{"id":"CVE-2025-48040","published":"2025-09-11T08:14:19Z","modified":"2026-11-20T05:56:31Z","title":"Malicious Key Exchange Messages may Lead to Excessive Resource Consumption","vendor":"Erlang","product":"OTP","tier":"tail","description":{"text":"Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp modules) allows Excessive Allocation, Flooding.\n\nThis vulnerability is associated with program files lib/ssh/src/ssh_sftpd.erl.\n\nThis 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.9,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00559,"percentile":0.47405,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph","tags":["vendor-advisory","related"]},{"url":"https://cna.erlef.org/cves/CVE-2025-48040.html","tags":["related"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-48040","tags":["related"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["x_version-scheme"]},{"url":"https://github.com/erlang/otp/pull/10162","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related"]},{"url":"https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a","tags":["patch"]},{"url":"https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a","tags":["patch"]}],"priority":{"score":14.3,"factors":[{"name":"EPSS percentile","points":9.48},{"name":"CVSS severity","points":4.83}]},"vendorSlug":"erlang","affectedVersions":[{"vendor":"Erlang","product":"OTP","versions":[">= 3.0.1"]},{"vendor":"Erlang","product":"OTP","versions":[">= 17.0"]},{"vendor":"Erlang","product":"OTP","versions":[">= 07b8f441ca711f9812fad9e9115bab3c3aa92f79"]}],"fixedVersions":[{"vendor":"Erlang","product":"OTP","versions":["5.1.4.12","5.2.11.3","5.3.3"]},{"vendor":"Erlang","product":"OTP","versions":["26.2.5.15","27.3.4.3","28.0.3"]},{"vendor":"Erlang","product":"OTP","versions":["548f1295d86d0803da884db8685cc16d461d0d5a","7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a"]}],"workarounds":{"items":["* set option parallel_login to false * reduce max_sessions option"],"from":"CVE.org CNA","provenance":"source"},"capec":[{"id":"CAPEC-130","name":"Excessive Allocation"},{"id":"CAPEC-125","name":"Flooding"}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-09-11T13:30:33.529743Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2025-27677","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-erlang-otp-cve-2025-32433","parents":[{"from":"CVE-2025-32433","to":"CVE-2025-48040","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/ssh/src/ssh_connection.erl"],"commits":["https://github.com/erlang/otp/commit/0fcd9c56524b28615e8ece65fc0c3f66ef6e4c12","https://github.com/erlang/otp/commit/6eef04130afc8b0ccb63c9a0d8650209cf54892f","https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a"],"basis":"shared function","functions":["handle_msg"]}]},{"from":"CVE-2025-46712","to":"CVE-2025-48040","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["lib/ssh/src/ssh_connection_handler.erl","lib/ssh/src/ssh_transport.erl"],"commits":["https://github.com/erlang/otp/commit/e4b56a9f4a511aa9990dd86c16c61439c828df83","https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a"],"basis":"shared function","functions":["handle_event"]}]}]}}