# CVE-2025-26618: SSH SFTP packet size not verified properly in Erlang OTP

- Severity: High 7.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:H`
- 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.49%, higher than 44% of CVEs (2026-12-01)
- Published: 2025-02-20T19:04:54.691Z
- Modified: 2026-06-17T09:02:08.413Z
- Weaknesses: CWE-789
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Erlang is a programming language and runtime system for building massively scalable soft real-time systems with requirements on high availability. OTP is a set of Erlang libraries, which consists of the Erlang runtime system, a number of ready-to-use components mainly written in Erlang. Packet size is not verified properly for SFTP packets. As a result when multiple SSH packets (conforming to max SSH packet size) are received by ssh, they might be combined into an SFTP packet which will exceed the max allowed packet size and potentially cause large amount of memory to be allocated. Note that situation described above can only happen for successfully authenticated users after completing the SSH handshake. This issue has been patched in OTP versions 27.2.4, 26.2.5.9, and 25.3.2.18. There are no known workarounds for this vulnerability.

(As written by CVE List.)

## Affected

- erlang otp: >= OTP-27.0.0, < OTP-27.2.4; >= OTP-26.0.0.0, < OTP-26.2.5.9; < OTP-25.3.2.18

## References

- <https://github.com/erlang/otp/security/advisories/GHSA-78cv-45vx-q6fr>
- <https://github.com/erlang/otp/commit/0ed2573cbd55c92e9125c9dc70fa1ca7fed82872>
- <https://erlang.org/download/OTP-27.2.4.README.md> (vendor-advisory)
- <https://lists.debian.org/debian-lts-announce/2025/04/msg00028.html>

## Sources

- CVE List: [CVE-2025-26618](https://www.cve.org/CVERecord?id=CVE-2025-26618), CVE Terms of Use, modified 2025-11-03
- NVD: [CVE-2025-26618](https://nvd.nist.gov/vuln/detail/CVE-2025-26618), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-26618 · Whole record: https://cve.day/CVE-2025-26618.json · Rebuilt by cve.day 2026-11-25T22:58:54.200Z
