Vulnerability · Published Sep 11, 2025 · Assigned by EEF
CVE-2025-48041SSH_FXP_OPENDIR may Lead to Exhaustion of File Handles
High 7.1
In plain English
A high-severity resource allocation without limits in OTP from Erlang. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 33% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Allocation of Resources Without Limits or Throttling 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 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | erlang | 1:25.2.3+dfsg-1+deb12u4 | DEBIAN-CVE-2025-48041 |
| Debian:13 | erlang | 1:27.3.4.1+dfsg-1+deb13u1 | DEBIAN-CVE-2025-48041 |
| Debian:14 | erlang | 1:27.3.4.3+dfsg-1 | DEBIAN-CVE-2025-48041 |
| Ubuntu:22.04:LTS | erlang | 1:24.2.1+dfsg-1ubuntu0.6 | USN-7831-1 |
| Ubuntu:22.04:LTS | erlang | 1:24.2.1+dfsg-1ubuntu0.6 | UBUNTU-CVE-2025-48041 |
| Ubuntu:24.04:LTS | erlang | 1:25.3.2.8+dfsg-1ubuntu4.5 | USN-7831-1 |
| Ubuntu:24.04:LTS | erlang | 1:25.3.2.8+dfsg-1ubuntu4.5 | UBUNTU-CVE-2025-48041 |
| Ubuntu:25.10 | erlang | 1:27.3.4.1+dfsg-1ubuntu0.1 | UBUNTU-CVE-2025-48041 |
| Ubuntu:25.10 | erlang | 1:27.3.4.1+dfsg-1ubuntu0.1 | USN-7831-1 |
Affected products (as reported)
Weakness: CWE-770, CWE-400 · 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
References
- https://github.com/erlang/otp/security/advisories/GHSA-79c4-cvv7-4qm3 vendor-advisory, related
- https://cna.erlef.org/cves/CVE-2025-48041.html related
- https://osv.dev/vulnerability/EEF-CVE-2025-48041 related
- https://www.erlang.org/doc/system/versions.html#order-of-versions x_version-scheme
- https://github.com/erlang/otp/pull/10157 patch
- https://github.com/erlang/otp/commit/5f9af63eec4657a37663828d206517828cb9f288 patch
- https://github.com/erlang/otp/commit/d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401 patch