CVE-2025-26618SSH SFTP packet size not verified properly in Erlang OTP
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.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.04 | erlang | Not affected vulnerable_code_not_present | ||
| Ubuntu 25.10 | erlang | Not affected vulnerable_code_not_present | ||
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.1 | UBUNTU-CVE-2025-26618 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.2 | UBUNTU-CVE-2025-26618 |
| Ubuntu 20.04 | erlang | Fixed | 1:22.2.7+dfsg-1ubuntu0.3 | UBUNTU-CVE-2025-26618 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-26618 |
| Ubuntu 16.04 | erlang | Fix pending | 1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2025-26618 |
| Ubuntu 14.04 | erlang | Fix pending | 1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2025-26618 |
| Debian 14 | erlang | Fixed | 1:27.2.4+dfsg-1 | DEBIAN-CVE-2025-26618 |
| Debian 13 | erlang | Fixed | 1:27.2.4+dfsg-1 | DEBIAN-CVE-2025-26618 |
| Debian 12 | erlang | Fixed | 1:25.2.3+dfsg-1+deb12u1 | DEBIAN-CVE-2025-26618 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- erlang otp: affected: >= 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
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.