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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-09-11 · Modified: 2026-11-20
- Aliases: UBUNTU-CVE-2025-48040, DEBIAN-CVE-2025-48040
- Record: https://cvemate.com/vulnerability/CVE-2025-48040 · JSON: https://cvemate.com/vulnerability/CVE-2025-48040/json

## Description

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

## Signals

- CVSS: 6.9 medium (v4.0, CVE.org) 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
- EPSS: 0.642%, percentile 52.194%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- debian erlang (Debian): \< 1:25.2.3+dfsg-1+deb12u4 \| \< 1:27.3.4.1+dfsg-1+deb13u1 \| \< 1:27.3.4.3+dfsg-1
- ubuntu erlang (Ubuntu): All versions (No fix recorded) \| \< 1:24.2.1+dfsg-1ubuntu0.6 \| \< 1:25.3.2.8+dfsg-1ubuntu4.5 \| \< 1:27.3.4.1+dfsg-1ubuntu0.1
- erlang otp: ≥ 3.0.1 (No fix recorded) \| ≥ 17.0 (No fix recorded) \| ≥ 07b8f441ca711f9812fad9e9115bab3c3aa92f79 (No fix recorded)

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph>
- <https://cna.erlef.org/cves/CVE-2025-48040.html>
- <https://osv.dev/vulnerability/EEF-CVE-2025-48040>
- <https://www.erlang.org/doc/system/versions.html#order-of-versions>
- <https://github.com/erlang/otp/pull/10162>
- <https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a>
- <https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a>
- <https://ubuntu.com/security/CVE-2025-48040>
- <https://www.cve.org/CVERecord?id=CVE-2025-48040>
- <https://ubuntu.com/security/notices/USN-7831-1>
- <https://security-tracker.debian.org/tracker/CVE-2025-48040>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-48040>
- <https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79>

---

Data as of 2026-12-05T08:24:20.544Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
