Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-54887

MEDIUM 6.3EPSS 31%

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

Mitigation

  • Upgrade OTP to 888e3bcd72d5406016b9e0de741026bc2a6f114d or later.

Who should check

  • Anyone running Erlang OTP >= 8.2, < *
  • Anyone running Erlang OTP >= 20.0, < *
  • Anyone running Erlang OTP >= e594aad2f87aab39e99fccf9e021bc94e0bbf7d4, < 888e3bcd72d5406016b9e0de741026bc2a6f114d

Vulnerability facts

Affected
Erlang OTP >= 8.2, < *; Erlang OTP >= 20.0, < *; Erlang OTP >= e594aad2f87aab39e99fccf9e021bc94e0bbf7d4, < 888e3bcd72d5406016b9e0de741026bc2a6f114d
Fixed in
Erlang OTP 888e3bcd72d5406016b9e0de741026bc2a6f114d
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
6.3 (v4.0, CNA)CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: Low
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.45% chance of exploitation in 30 days (percentile 31, 2026-11-26)
CWE
CWE-1394
Published
Modified

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 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.

Affected and fixed versions

Package / productAffectedFixedSource
Erlang OTP>= 8.2, < *—cvelist
Erlang OTP>= 20.0, < *—cvelist
Erlang OTP>= e594aad2f87aab39e99fccf9e021bc94e0bbf7d4, < 888e3bcd72d5406016b9e0de741026bc2a6f114d—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-54887. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-54887.md
Affected: Erlang OTP >= 8.2, < *; Erlang OTP >= 20.0, < *; Erlang OTP >= e594aad2f87aab39e99fccf9e021bc94e0bbf7d4, < 888e3bcd72d5406016b9e0de741026bc2a6f114d
Fixed in: Erlang OTP 888e3bcd72d5406016b9e0de741026bc2a6f114d

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-54887 being exploited?

There is no confirmed exploitation: CVE-2026-54887 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.45% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-54887?

Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2026-54887?

Erlang OTP >= 8.2, < *; Erlang OTP >= 20.0, < *; Erlang OTP >= e594aad2f87aab39e99fccf9e021bc94e0bbf7d4, < 888e3bcd72d5406016b9e0de741026bc2a6f114d.

Is there a fix for CVE-2026-54887?

Yes. Fixed in Erlang OTP 888e3bcd72d5406016b9e0de741026bc2a6f114d. Upgrade OTP to 888e3bcd72d5406016b9e0de741026bc2a6f114d or later.

How do I check if I'm affected by CVE-2026-54887?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors