---
id: CVE-2025-48040
title: >-
  Uncontrolled Resource Consumption vulnerability in Erlang OTP ssh (ssh_sftp
  modules) allows Excessive Allocation, Flooding
summary: >-
  Uncontrolled Resource Consumption 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 1…
severity: none
cwe:
  - CWE-400
  - CWE-770
published: '2025-09-11'
updated: '2026-07-24'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-48040'
references:
  - url: 'https://cna.erlef.org/cves/CVE-2025-48040.html'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: >-
      https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/erlang/otp/pull/10162'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://osv.dev/vulnerability/EEF-CVE-2025-48040'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  - url: 'https://www.erlang.org/doc/system/versions.html#order-of-versions'
    label: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
tags:
  - nvd
epss: 0.00431
epssPercentile: 0.36944
ingestedAt: '2026-07-24T15:30:57.912Z'
---

## Overview

Uncontrolled Resource Consumption 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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
