CVEfocus › CVE database › CVE-2025-26618

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

CVSS 7.0 HighEPSS 0.7% (higher than 50% of CVEs)Published 2025-02-20Updated 2025-11-03Assigner: GitHub_M

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.

CWE-789

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

6Fixed
3Fix pending
2Not affected

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.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04erlangNot affected
vulnerable_code_not_present
Ubuntu 25.10erlangNot affected
vulnerable_code_not_present
Ubuntu 24.04erlangFixed1:25.3.2.8+dfsg-1ubuntu4.1UBUNTU-CVE-2025-26618
Ubuntu 22.04erlangFixed1:24.2.1+dfsg-1ubuntu0.2UBUNTU-CVE-2025-26618
Ubuntu 20.04erlangFixed1:22.2.7+dfsg-1ubuntu0.3UBUNTU-CVE-2025-26618
Ubuntu 18.04erlangFix pending1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-26618
Ubuntu 16.04erlangFix pending1:18.3-dfsg-1ubuntu3.1+esm4 (Ubuntu Pro)UBUNTU-CVE-2025-26618
Ubuntu 14.04erlangFix pending1:16.b.3-dfsg-1ubuntu2.2+esm3 (Ubuntu Pro)UBUNTU-CVE-2025-26618
Debian 14erlangFixed1:27.2.4+dfsg-1DEBIAN-CVE-2025-26618
Debian 13erlangFixed1:27.2.4+dfsg-1DEBIAN-CVE-2025-26618
Debian 12erlangFixed1:25.2.3+dfsg-1+deb12u1DEBIAN-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.

References

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.