CVE-2026-54887DTLS server cookie bypass during startup window due to empty initial cookie secret
Use of Default Cryptographic Key vulnerability in Erlang/OTP ssl (DTLS server) allows predictable DTLS cookie computation during the startup window, enabling source address verification bypass. On DTLS server startup, dtls_server_connection:initial_hello/3 initializes previous_cookie_secret to the empty binary (<<>>) instead of a random value. Because HMAC with an empty key is deterministic, anyone who observes the plaintext ClientHello can compute dtls_handshake:cookie(<<>>, IP, Port, Hello) and forge a valid DTLS cookie before the first rotation of the cookie secret. The DTLS cookie (RFC 6347 §4.2.1) is a denial-of-service mitigation that prevents spoofed source IPs from forcing the server to allocate state and perform expensive cryptographic operations; it is not an authentication mechanism. During the window from server startup until the first secret rotation (0 to 15 seconds), an attacker who can observe the plaintext ClientHello can bypass the source address verification, enabling DTLS handshake amplification with spoofed source addresses. This vulnerability is associated with program file lib/ssl/src/dtls_server_connection.erl and program routine dtls_server_connection:initial_hello/3. This issue affects OTP from OTP 20.0 before OTP 27.3.4.14, OTP 28.5.0.3, and OTP 29.0.3, corresponding to ssl from 8.2 before 11.2.12.10, 11.6.0.3, and 11.7.3.
What to do
Fixed builds are available from Debian, Ubuntu: see the table below for the fixed version per release.
Debian, Ubuntu have 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 | Fixed | 1:27.3.4.6+dfsg-1ubuntu0.2 | UBUNTU-CVE-2026-54887 |
| Ubuntu 25.10 | erlang | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2026-54887 | |
| Ubuntu 24.04 | erlang | Fixed | 1:25.3.2.8+dfsg-1ubuntu4.8 | UBUNTU-CVE-2026-54887 |
| Ubuntu 22.04 | erlang | Fixed | 1:24.2.1+dfsg-1ubuntu0.8 | UBUNTU-CVE-2026-54887 |
| Ubuntu 20.04 | erlang | Fix pending | 1:22.2.7+dfsg-1ubuntu0.5+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-54887 |
| Ubuntu 18.04 | erlang | Fix pending | 1:20.2.2+dfsg-1ubuntu2+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-54887 |
| Debian 14 | erlang | Fixed | 1:29.0.3+dfsg-1 | DEBIAN-CVE-2026-54887 |
| Debian 13 | erlang | Fixed | 1:27.3.4.1+dfsg-1+deb13u3 | DEBIAN-CVE-2026-54887 |
| Debian 12 | erlang | Fix pending | DEBIAN-CVE-2026-54887 |
What the vendor says
As published in the CVE record by EEF, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Erlang OTP: affected: 8.2 and later; fixed in
11.2.12.10,11.6.0.3,11.7.3 - Erlang OTP: affected: 20.0 and later; fixed in
27.3.4.14,28.5.0.3,29.0.3 - Erlang OTP: affected: e594aad2f87aab39e99fccf9e021bc94e0bbf7d4 to before 888e3bcd72d5406016b9e0de741026bc2a6f114d; fixed in
888e3bcd72d5406016b9e0de741026bc2a6f114d
Vendor advisories:
- https://github.com/erlang/otp/security/advisories/GHSA-p2m2-3c2w-8jp8 (vendor-advisory)
- https://github.com/erlang/otp/commit/888e3bcd72d5406016b9e0de741026bc2a6f114d (patch)
References
- https://github.com/erlang/otp/security/advisories/GHSA-p2m2-3c2w-8jp8
- https://cna.erlef.org/cves/CVE-2026-54887.html
- https://osv.dev/vulnerability/EEF-CVE-2026-54887
- https://www.erlang.org/doc/system/versions.html#order-of-versions
- https://github.com/erlang/otp/commit/e594aad2f87aab39e99fccf9e021bc94e0bbf7d4
- https://github.com/erlang/otp/commit/888e3bcd72d5406016b9e0de741026bc2a6f114d
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.