CVE-2026-54887: CWE-1394 Use of Default Cryptographic Key in Erlang OTP
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 29.0.3, OTP 28.5.0.3 and OTP 27.3.4.14, corresponding to ssl from 8.2 before 11.7.3, 11.6.0.3 and 11.2.12.10.
AI Analysis
Technical Summary
The vulnerability arises because the DTLS server in Erlang/OTP initializes the previous_cookie_secret to an empty binary on startup, causing the HMAC used for DTLS cookie computation to be deterministic and predictable during the first 0 to 15 seconds before the secret rotates. An attacker who can observe the ClientHello message can forge valid DTLS cookies and bypass the source address verification that normally prevents spoofed IP addresses from forcing the server to allocate resources. This can enable DTLS handshake amplification attacks with spoofed source addresses. The issue affects multiple OTP and ssl versions as specified. The DTLS cookie mechanism is a denial-of-service mitigation, not an authentication feature.
Potential Impact
During the initial startup window of the DTLS server, attackers can bypass source address verification by forging valid DTLS cookies, potentially enabling denial-of-service amplification attacks with spoofed source IP addresses. This weakens the server's ability to mitigate resource exhaustion attacks during this window. The vulnerability does not affect authentication or confidentiality directly but impacts the robustness of denial-of-service protections.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Until a fix is available, administrators should be aware of the startup window risk and consider mitigating exposure during server restarts if possible.
CVE-2026-54887: CWE-1394 Use of Default Cryptographic Key in Erlang OTP
Description
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 29.0.3, OTP 28.5.0.3 and OTP 27.3.4.14, corresponding to ssl from 8.2 before 11.7.3, 11.6.0.3 and 11.2.12.10.
CVSS v4.0
Score 6.3medium
Affected software
Erlang
OTP
Erlang
OTP
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability arises because the DTLS server in Erlang/OTP initializes the previous_cookie_secret to an empty binary on startup, causing the HMAC used for DTLS cookie computation to be deterministic and predictable during the first 0 to 15 seconds before the secret rotates. An attacker who can observe the ClientHello message can forge valid DTLS cookies and bypass the source address verification that normally prevents spoofed IP addresses from forcing the server to allocate resources. This can enable DTLS handshake amplification attacks with spoofed source addresses. The issue affects multiple OTP and ssl versions as specified. The DTLS cookie mechanism is a denial-of-service mitigation, not an authentication feature.
Potential Impact
During the initial startup window of the DTLS server, attackers can bypass source address verification by forging valid DTLS cookies, potentially enabling denial-of-service amplification attacks with spoofed source IP addresses. This weakens the server's ability to mitigate resource exhaustion attacks during this window. The vulnerability does not affect authentication or confidentiality directly but impacts the robustness of denial-of-service protections.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is indicated in the provided data. Until a fix is available, administrators should be aware of the startup window risk and consider mitigating exposure during server restarts if possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-06-16T10:47:13.915Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a46a8b827e9c79719cc4ab5
Added to database: 07/02/2026, 18:06:48 UTC
Last enriched: 08/15/2026, 17:18:43 UTC
Last updated: 10/01/2026, 00:48:05 UTC
Views: 117
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.