{"schema_version":"1.9.0","id":"EEF-CVE-2025-48038","published":"2025-09-11T08:13:04.030Z","modified":"2026-09-08T03:45:05.182491223Z","aliases":["CVE-2025-48038","GHSA-pvj7-9652-7h9r"],"summary":"Unverified File Handles can Cause Excessive Use of System Resources","details":"## Summary\n\nAllocation of Resources Without Limits or Throttling vulnerability in Erlang OTP ssh (ssh\\_sftp modules) allows Excessive Allocation, Resource Leak Exposure. This vulnerability is associated with program files lib/ssh/src/ssh\\_sftpd.erl.\n\nThis issue affects OTP from OTP 17.0 before OTP 28.0.3, OTP 27.3.4.3 and OTP 26.2.5.15, corresponding to ssh from 3.0.1 before 5.3.3, 5.2.11.3 and 5.1.4.12.\n\n## Workarounds\n\n\\*  Disable sftp\n  \\*  limiting number of max\\_sessions allowed for sshd, so exploiting becomes more complicated\n\n## Configurations\n\nThe SFTP subsystem must be enabled on the SSH server and the SSH port must be reachable by the attacker. SFTP is enabled by default unless explicitly disabled by setting {subsystems, \\[\\]} in the SSH daemon configuration.","affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/erlang/otp","events":[{"introduced":"07b8f441ca711f9812fad9e9115bab3c3aa92f79"},{"fixed":"4e3bf86777ab3db7220c11d8ddabf15970ddd10a"},{"fixed":"f09e0201ff701993dc24a08f15e524daf72db42f"}]}],"versions":["patch-base-27","OTP-27.3.4","patch-base-26","OTP-26.2.5","OTP-27.0","OTP-26.2.5.9","OTP-26.2.5.12","OTP-27.3","OTP-26.2.3","OTP-27.3.3","OTP-26.2.5.14","OTP-26.0","OTP-26.2.5.13","OTP-25.0","OTP-26.2.5.11","OTP-27.3.2","OTP-26.2.5.10","OTP-27.2","OTP-27.3.1","OTP-26.2.5.8","OTP-26.2.5.7","OTP-26.2.5.6","OTP-27.1","OTP-26.2.5.5","OTP-26.2.5.4","OTP-26.2.5.3","OTP-26.2","OTP-26.2.5.2","OTP-26.2.5.1","OTP-26.2.4","OTP-27.0-rc3","OTP-27.0-rc2","OTP-27.0-rc1","OTP-24.0","OTP-26.1","OTP-26.0-rc3","OTP-26.0-rc2","OTP-26.0-rc1","OTP-23.0","OTP-21.0","OTP-25.0-rc3","OTP-25.0-rc2","OTP-25.0-rc1","OTP-22.0","OTP-24.0-rc3","OTP-24.0-rc2","OTP-24.0-rc1","OTP-23.0-rc3","OTP-23.0-rc2","OTP-23.0-rc1","OTP-20.0","OTP-22.0-rc3","OTP-22.0-rc2","OTP-22.0-rc1","OTP-19.0","OTP-21.0-rc2","OTP-18.0","OTP-21.0-rc1","OTP-17.0","OTP-20.0-rc2","OTP-20.0-rc1","OTP-19.0-rc2","OTP-19.0-rc1","OTP-18.0-rc1"],"database_specific":{"source":"https://cna.erlef.org/osv/EEF-CVE-2025-48038.json"}}],"references":[{"type":"ADVISORY","url":"https://github.com/erlang/otp/security/advisories/GHSA-pvj7-9652-7h9r"},{"type":"WEB","url":"https://cna.erlef.org/cves/CVE-2025-48038.html"},{"type":"WEB","url":"https://www.erlang.org/doc/system/versions.html#order-of-versions"},{"type":"FIX","url":"https://github.com/erlang/otp/pull/10156"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/4e3bf86777ab3db7220c11d8ddabf15970ddd10a"},{"type":"FIX","url":"https://github.com/erlang/otp/commit/f09e0201ff701993dc24a08f15e524daf72db42f"}],"database_specific":{"capec_ids":["CAPEC-130","CAPEC-131"],"cpe_ids":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"cwe_ids":["CWE-770","CWE-400"]},"severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}],"credits":[{"name":"Jakub Witczak","type":"REMEDIATION_DEVELOPER"},{"name":"Ingela Anderton Andin","type":"REMEDIATION_REVIEWER"}]}