# CVE-2025-48041: SSH_FXP_OPENDIR may Lead to Exhaustion of File Handles

Status: published. Published: 2025-09-11. Updated: 2026-11-11.

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

## Remediation

- workaround: * disabling SFTP
* limiting number of max_sessions allowed for sshd, so exploiting becomes more complicated (source: CNA: EEF)
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/erlang/otp/pull/10157
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/erlang/otp/commit/d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401
- fix: The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches. (source: CNA: EEF) — https://github.com/erlang/otp/commit/5f9af63eec4657a37663828d206517828cb9f288

## Affected products and versions

- Erlang / OTP (otp): ≥ 17.0; < * (affected, otp); unaffected at 26.2.5.15; unaffected at 27.3.4.3; unaffected at 28.0.3. Source: CNA: EEF
- Erlang / OTP (ssh): ≥ 3.0.1; < * (affected, otp); unaffected at 5.1.4.12; unaffected at 5.2.11.3; unaffected at 5.3.3. Source: CNA: EEF
- Erlang / OTP (erlang/otp): ≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79; < * (affected, git); unaffected at d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401; unaffected at 5f9af63eec4657a37663828d206517828cb9f288. Source: CNA: EEF

## Severity and prioritization

- CVSS 4.0: 7.1 (high); 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; source: CNA: EEF

- CISA KEV: No listing in collected sources

- EPSS: 0.39% as of 2026-11-10; percentile 33.55%

- SSVC: exploitation none; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-770, CWE-400

## Exploit evidence

No exploit evidence in collected sources. This is not proof of no exploitation.

## References

- https://github.com/erlang/otp/security/advisories/GHSA-79c4-cvv7-4qm3 (CNA: EEF; vendor-advisory, related)

- https://cna.erlef.org/cves/CVE-2025-48041.html (CNA: EEF; related)

- https://osv.dev/vulnerability/EEF-CVE-2025-48041 (CNA: EEF; related)

- https://www.erlang.org/doc/system/versions.html#order-of-versions (CNA: EEF; x_version-scheme)

- https://github.com/erlang/otp/pull/10157 (CNA: EEF; patch)

- https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79 (CNA: EEF; related)

- https://github.com/erlang/otp/commit/d49efa2d4fa9e6f7ee658719cd76ffe7a33c2401 (CNA: EEF; patch)

- https://github.com/erlang/otp/commit/5f9af63eec4657a37663828d206517828cb9f288 (CNA: EEF; patch)

## Provenance

- CNA: EEF: https://www.cve.org/CVERecord?id=CVE-2025-48041; retrieved 2026-11-11; source updated 2026-11-11

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2025-48041; retrieved 2026-11-11; source updated Not reported

Revision: d18feaf4054f6b244dee91fa38a4f8f3ad1da27cd4ef0904c60465265b066eba

Canonical: https://y2.dev/cve/CVE-2025-48041

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.