CVE-2025-48038
JSON

5.3medium

Unverified File Handles can Cause Excessive Use of System Resources

Severity
5.3medium CVSS:4.0 by EEF
Exploit likelihood
0.53% (higher than 46% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
EEF
Also known as
EEF-CVE-2025-48038GHSA-pvj7-9652-7h9r

Description

Allocation 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. This 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.

Affected

Product or packageVersionsReported by
sshfrom 3.0.1 before *CVE List
otpfrom 17.0 before *CVE List
erlang/otpfrom 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before *CVE List
https://github.com/erlang/otpfrom 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before 4e3bf86777ab3db7220c11d8ddabf15970ddd10a, before f09e0201ff701993dc24a08f15e524daf72db42fErlang Ecosystem Foundation

All scores

EEF5.3medium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
Erlang Ecosystem FoundationNot scored CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Classification

CWE-400CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Allocation 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. This 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.

Erlang Ecosystem Foundation

Summary

Allocation 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.

This 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.

Workarounds

  • Disable sftp
  • limiting number of max_sessions allowed for sshd, so exploiting becomes more complicated

Configurations

The 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.

NVD (es)

Vulnerabilidad de asignación de recursos sin límites o limitación (throttling) en los módulos ssh (ssh_sftp) de Erlang OTP que permite la asignación excesiva y la exposición a fugas de recursos. Esta vulnerabilidad está asociada con los archivos de programa lib/ssh/src/ssh_sftpd.erl. Este problema afecta a OTP desde la versión 17.0 hasta versiones anteriores a la 26.2.5.15, así como a las versiones 27.3.4.3 y 28.0.3, lo que corresponde a ssh desde la versión 3.0.1 hasta versiones anteriores a la 5.1.4.12, así como a las versiones 5.2.11.3 y 5.3.3.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-48038 changed 2026-11-20CVE Terms of Use
Erlang Ecosystem FoundationEEF-CVE-2025-48038 changed 2026-11-25CC-BY-4.0
NVDCVE-2025-48038 changed 2026-11-20Public domain