Vulnerability · Published Sep 11, 2025 · Assigned by EEF

CVE-2025-48040Malicious Key Exchange Messages may Lead to Excessive Resource Consumption

Medium 6.9

In plain English

A medium-severity uncontrolled resource consumption 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 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)6.9Medium
Exploit odds (30 days)0.4%top 60.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12erlang1:25.2.3+dfsg-1+deb12u4DEBIAN-CVE-2025-48040
Debian:13erlang1:27.3.4.1+dfsg-1+deb13u1DEBIAN-CVE-2025-48040
Debian:14erlang1:27.3.4.3+dfsg-1DEBIAN-CVE-2025-48040
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.6USN-7831-1
Ubuntu:22.04:LTSerlang1:24.2.1+dfsg-1ubuntu0.6UBUNTU-CVE-2025-48040
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.5USN-7831-1
Ubuntu:24.04:LTSerlang1:25.3.2.8+dfsg-1ubuntu4.5UBUNTU-CVE-2025-48040
Ubuntu:25.10erlang1:27.3.4.1+dfsg-1ubuntu0.1UBUNTU-CVE-2025-48040
Ubuntu:25.10erlang1:27.3.4.1+dfsg-1ubuntu0.1USN-7831-1

Affected products (as reported)

VendorProductVersions
Erlang OTP 3.0.1 – before *
Erlang OTP 17.0 – before *07b8f441ca711f9812fad9e9115bab3c3aa92f79 – before *

Weakness: CWE-400, CWE-770 · Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

References