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

- Severity: Medium 6.9 (CVSS:4.0, scored by EEF) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.60%, higher than 50% of CVEs (2026-12-01)
- Published: 2025-09-11T08:14:19.671Z
- Modified: 2026-11-25T06:30:04.918Z
- Also known as: EEF-CVE-2025-48040, GHSA-h7rg-6rjg-4cph
- Weaknesses: CWE-400, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: EEF

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

(As written by CVE List.)

## Affected

- ssh: from 3.0.1 before *
- otp: from 17.0 before *
- erlang/otp: from 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before *
- https://github.com/erlang/otp: from 07b8f441ca711f9812fad9e9115bab3c3aa92f79 before 548f1295d86d0803da884db8685cc16d461d0d5a; before 7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a

## Every score

- EEF: CVSS:4.0 6.9 Medium `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`
- Erlang Ecosystem Foundation: CVSS:4.0 `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

- <https://github.com/erlang/otp/security/advisories/GHSA-h7rg-6rjg-4cph> (advisory, related, vendor-advisory)
- <https://cna.erlef.org/cves/CVE-2025-48040.html> (related, web)
- <https://osv.dev/vulnerability/EEF-CVE-2025-48040> (related)
- <https://www.erlang.org/doc/system/versions.html#order-of-versions> (web)
- <https://github.com/erlang/otp/pull/10162> (fix, patch)
- <https://github.com/erlang/otp/commit/07b8f441ca711f9812fad9e9115bab3c3aa92f79> (related, web)
- <https://github.com/erlang/otp/commit/548f1295d86d0803da884db8685cc16d461d0d5a> (fix, patch)
- <https://github.com/erlang/otp/commit/7cd7abb7e19e16b027eaee6a54e1f6fbbe21181a> (fix, patch)

## Sources

- CVE List: [CVE-2025-48040](https://www.cve.org/CVERecord?id=CVE-2025-48040), CVE Terms of Use, modified 2026-11-20
- Erlang Ecosystem Foundation: [EEF-CVE-2025-48040](https://osv.dev/vulnerability/EEF-CVE-2025-48040), CC-BY-4.0, modified 2026-11-25
- NVD: [CVE-2025-48040](https://nvd.nist.gov/vuln/detail/CVE-2025-48040), Public domain, modified 2026-11-20

---

Page: https://cve.day/CVE-2025-48040 · Whole record: https://cve.day/CVE-2025-48040.json · Rebuilt by cve.day 2026-11-25T22:59:04.529Z
