{"id":"CVE-2025-48040","aliases":["CVE-2025-48040","EEF-CVE-2025-48040","GHSA-h7rg-6rjg-4cph"],"related":[],"kind":"vulnerability","state":"published","title":"Malicious Key Exchange Messages may Lead to Excessive Resource Consumption","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"},{"lang":"en","text":"## Summary\n\nUncontrolled 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.\n\n## Workarounds\n\n* set option `parallel_login` to `false`\n* reduce `max_sessions` option","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de consumo de recursos no controlado en Erlang OTP ssh (módulos ssh_sftp) que permite la asignación excesiva y la inundación.\n\nEsta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_sftpd.erl.\n\nEste problema afecta a OTP desde la versión 17.0 y anteriores a la versión 26.2.5.15, así como a las versiones OTP 27.3.4.3 y OTP 28.0.3, lo que corresponde a ssh desde la versión 3.0.1 y anteriores a la versión 5.1.4.12, así como a las versiones 5.2.11.3 y 5.3.3.","source":"nvd"}],"published":"2025-09-11T08:14:19.671Z","modified":"2026-11-25T06:30:04.918Z","severity":{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},"severities":[{"scorer":"EEF","scheme":"CVSS: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","score":6.9,"rating":"MEDIUM"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS: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"}],"cwes":["CWE-400","CWE-770"],"affected":[{"ranges":[{"type":"otp","introduced":"3.0.1","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"ssh","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"otp","introduced":"17.0","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","fixed":"*","status":"affected"}],"vendor":"Erlang","product":"OTP","package":"erlang/otp","cpe":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","repo":"https://github.com/erlang/otp","source":"cvelist"},{"ranges":[{"type":"git","introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79","status":"affected","fixed":"548f1295d86d0803da884db8685cc16d461d0d5a"},{"type":"git","status":"affected","fixed":"7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a"}],"repo":"https://github.com/erlang/otp","source":"eef"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2025-48040.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-48040","tags":["related"],"sources":["cvelist","nvd"]},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["web","x-version-scheme"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/pull/10162","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Jakub Witczak","Ingela Anderton Andin"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-09-11T13:30:33.529Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48040","url":"https://www.cve.org/CVERecord?id=CVE-2025-48040","licence":"CVE Terms of Use","modified":"2026-11-20T05:56:31.755Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2025-48040","url":"https://osv.dev/vulnerability/EEF-CVE-2025-48040","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:04.918Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48040","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48040","licence":"Public domain","modified":"2026-11-20T06:17:15.043Z"}],"updatedAt":"2026-11-25T22:59:04.529Z","epss":{"score":0.00605,"percentile":0.50317,"date":"2026-12-01T12:00:22.000Z"}}