CVE-2025-26618 json
SSH SFTP packet size not verified properly in Erlang OTP
published 2025-02-20 20 mo ago modified 2026-06-17 4 mo ago also EUVD-2025-5086
- cvss
- 7.0
- version 4.0, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 42%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- erlang erlang/otp 25.3.2.18, 26.2.5.9, 27.2.4
- erlang Debian 12 1:25.2.3+dfsg-1+deb12u1
- erlang Debian 14, Debian 13 1:27.2.4+dfsg-1
debian advisories DEBIAN-CVE-2025-26618
- erlang Ubuntu 20.04 LTS 1:22.2.7+dfsg-1ubuntu0.3
- erlang Ubuntu 22.04 LTS 1:24.2.1+dfsg-1ubuntu0.2
- erlang Ubuntu 24.04 LTS 1:25.3.2.8+dfsg-1ubuntu4.1
- erlang Ubuntu Pro 14.04 LTS 1:16.b.3-dfsg-1ubuntu2.2+esm3
- erlang Ubuntu Pro 16.04 LTS 1:18.3-dfsg-1ubuntu3.1+esm4
- erlang Ubuntu Pro 18.04 LTS 1:20.2.2+dfsg-1ubuntu2+esm4
ubuntu advisories UBUNTU-CVE-2025-26618
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- erlang26 SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 26.2.1-150300.7.8.1
- erlang SLE Module for Server Applications 15 SP6, openSUSE Leap 15.6 23.3.4.19-150300.3.17.1
suse advisories SUSE-SU-2025:1051-1SUSE-SU-2025:0901-1
- erlang27 openSUSE Tumbleweed 27.1.3-3.1
- erlang openSUSE Tumbleweed 27.2.4-2.1
opensuse advisories openSUSE-SU-2026:11560-1openSUSE-SU-2025:14879-1
- erlang Azure Linux 3.0 26.2.5.9-1
- erlang CBL-Mariner 2.0 25.2-3
azure linux advisories AZL-57083AZL-57095
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-26618 updated cvss 6.5
otp: erlang: SSH SFTP packet size not verified properly in Erlang OTP
-
Red Hat OpenStack Platform 16.2 erlang, erlang-ssl, erlang-asn1, erlang-erts, erlang-hipe, erlang-sasl, +15 more Red Hat OpenStack Platform 17.1 erlang-ssl, erlang-asn1, erlang-erts, erlang-sasl, erlang-snmp, erlang-eldap, +13 more Red Hat OpenStack Platform 18.0 erlangnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 20 mo ago
Exploit prediction
0.50% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 7.0 | 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 |
| CNA | 4.0 | 7.0 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
Affected products
- erlang otp
Classification
- Weakness
-
- CWE-789 Memory Allocation with Excessive Size Value
References
Sources
- CVE List CVE-2025-26618
- NVD CVE-2025-26618
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.