{"id":"CVE-2025-48041","aliases":["CVE-2025-48041","EEF-CVE-2025-48041","GHSA-79c4-cvv7-4qm3"],"related":[],"kind":"vulnerability","state":"published","title":"SSH_FXP_OPENDIR may Lead to Exhaustion of File Handles","summary":"Allocation of Resources Without Limits or Throttling 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":"Allocation of Resources Without Limits or Throttling 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\nAllocation of Resources Without Limits or Throttling 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* disabling 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.","format":"markdown","source":"eef"},{"lang":"es","text":"Vulnerabilidad de asignación de recursos sin límites ni limitación en Erlang OTP ssh (módulos ssh_sftp) que permite la asignación excesiva y el desbordamiento.\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 hasta versiones anteriores a la 26.2.5.15, la 27.3.4.3 y la 28.0.3, correspondiente a ssh desde la versión 3.0.1 hasta versiones anteriores a la 5.1.4.12, la 5.2.11.3 y la 5.3.3.","source":"nvd"}],"published":"2025-09-11T08:14:20.508Z","modified":"2026-11-25T06:30:06.640Z","severity":{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},"severities":[{"scorer":"EEF","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":7.1,"rating":"HIGH"},{"scorer":"Erlang Ecosystem Foundation","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/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":"5f9af63eec4657a37663828d206517828cb9f288"},{"type":"git","status":"affected","fixed":"d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401"}],"repo":"https://github.com/erlang/otp","source":"eef"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-79c4-cvv7-4qm3","tags":["advisory","related","vendor-advisory"],"sources":["cvelist","eef","nvd"]},{"url":"https://cna.erlef.org/cves/CVE-2025-48041.html","tags":["related","web"],"sources":["cvelist","eef","nvd"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2025-48041","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/10157","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/5f9af63eec4657a37663828d206517828cb9f288","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]},{"url":"https://github.com/erlang/otp/commit/d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401","tags":["fix","patch"],"sources":["cvelist","eef","nvd"]}],"credits":["Jakub Witczak","Ingela Anderton Andin"],"assigner":"EEF","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-09-11T13:30:20.449Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-48041","url":"https://www.cve.org/CVERecord?id=CVE-2025-48041","licence":"CVE Terms of Use","modified":"2026-11-20T05:56:37.774Z"},{"source":"eef","name":"Erlang Ecosystem Foundation","id":"EEF-CVE-2025-48041","url":"https://osv.dev/vulnerability/EEF-CVE-2025-48041","licence":"CC-BY-4.0","modified":"2026-11-25T06:30:06.640Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-48041","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-48041","licence":"Public domain","modified":"2026-11-20T06:17:15.207Z"}],"updatedAt":"2026-11-25T22:59:04.530Z","epss":{"score":0.0053,"percentile":0.46246,"date":"2026-12-01T12:00:22.000Z"}}