CVE-2026-54887: DTLS server cookie bypass during startup window due to empty initial cookie secret

Published Jul 2, 2026
·
Updated

Summary

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, dtlsserverconnection:initialhello/3 initializes previouscookiesecret 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 dtlshandshake: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/dtlsserverconnection.erl and program routine dtlsserverconnection:initialhello/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.

Other sources

DTLS server cookie bypass during startup window due to empty initial cookie secret

— Microsoft

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, dtlsserverconnection:initialhello/3 initializes previouscookiesecret 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 dtlshandshake: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/dtlsserverconnection.erl and program routine dtlsserverconnection:initialhello/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.

— MITRE

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, dtlsserverconnection:initialhello/3 initializes previouscookiesecret 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 dtlshandshake: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/dtlsserverconnection.erl and program routine dtlsserverconnection:initialhello/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.

— NVD

Affected Software

18 affected componentsFixes available
Erlang Erlang/OTP (ssl DTLS server)>20.0<=29.0.3
Microsoft azl3 erlang 26.2.5.21-4<26.2.5.21-5
26.2.5.21-5
Erlang Erlang\/otp>=20.0<27.3.4.14
Erlang Erlang\/otp>=28.0<28.5.0.3
Erlang Erlang\/otp>=29.0<29.0.3
Erlang Erlang\/ssl>=8.2<11.2.12.10
Erlang Erlang\/ssl>=11.3<11.6.0.3
Erlang Erlang\/ssl>=11.7<11.7.3
ubuntu/erlang<1:20.2.2+dfsg-1ubuntu2+esm4
1:20.2.2+dfsg-1ubuntu2+esm4
ubuntu/erlang<1:22.2.7+dfsg-1ubuntu0.5+esm3
1:22.2.7+dfsg-1ubuntu0.5+esm3
ubuntu/erlang<1:24.2.1+dfsg-1ubuntu0.8
1:24.2.1+dfsg-1ubuntu0.8
ubuntu/erlang<1:25.3.2.8+dfsg-1ubuntu4.8
1:25.3.2.8+dfsg-1ubuntu4.8
ubuntu/erlang*
ubuntu/erlang<1:27.3.4.6+dfsg-1ubuntu0.2
1:27.3.4.6+dfsg-1ubuntu0.2
debian/erlang*
debian/erlang<1:27.3.4.1+dfsg-1+deb13u3
1:27.3.4.1+dfsg-1+deb13u3
debian/erlang<1:29.0.3+dfsg-1
1:29.0.3+dfsg-1
debian/erlang<=1:25.2.3+dfsg-1+deb12u4, <=1:25.2.3+dfsg-1+deb12u1
1:27.3.4.1+dfsg-1+deb13u31:29.0.3+dfsg-1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.21-5
  2. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:20.2.2+dfsg-1ubuntu2+esm4
  3. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:22.2.7+dfsg-1ubuntu0.5+esm3
  4. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:24.2.1+dfsg-1ubuntu0.8
  5. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:25.3.2.8+dfsg-1ubuntu4.8
  6. Upgrade

    Upgrade ubuntu/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.6+dfsg-1ubuntu0.2
  7. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.1+dfsg-1+deb13u3
  8. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:29.0.3+dfsg-1
  9. Upgrade

    Upgrade debian/erlang to a version that resolves this vulnerability.

    Fixed in 1:27.3.4.1+dfsg-1+deb13u3Fixed in 1:29.0.3+dfsg-1
  10. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 27.3.4.14
  11. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 28.5.0.3
  12. Upgrade

    Upgrade Erlang/OTP to a version that resolves this vulnerability.

    Fixed in 29.0.3

Event History

Jul 2, 2026
CVE Published
via MITRE·04:06 PM
Data Sourced
via MITRE·04:06 PM
DescriptionWeakness
Data Sourced
via OSV·04:06 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:17 PM
DescriptionSeverityWeakness
Jul 7, 2026
Data Sourced
via NVD·02:52 PM
RemedyAffected Software
Updated
via NVD·02:52 PM
Severity
Jul 24, 2026
Updated
via MITRE·02:15 PM
Description
Updated
via NVD·03:18 PM
Description
Aug 15, 2026
Data Sourced
via Microsoft·02:10 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·02:10 AM
Affected Software
Nov 11, 2026
Updated
via MITRE·06:50 PM
Description
Updated
via NVD·07:17 PM
Description
Nov 18, 2026
Data Sourced
via OSV·02:19 PM
Affected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2026-54887?

CVE-2026-54887 has a risk score of 29, indicating a significant vulnerability.

2

How do I fix CVE-2026-54887?

To mitigate CVE-2026-54887, update Erlang/OTP to the latest version that addresses this vulnerability.

3

What does CVE-2026-54887 affect?

CVE-2026-54887 affects the DTLS server component of Erlang/OTP's ssl module.

4

What is the exploit mechanism for CVE-2026-54887?

CVE-2026-54887 exploits the use of a default cryptographic key, allowing a predictable DTLS cookie computation.

5

When was CVE-2026-54887 published?

CVE-2026-54887 was published on July 2, 2026.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203