SecurityContext

CVE-2026-54887: Erlang/OTP ssl - Weak Cryptography

  • Cve: CVE-2026-54887
  • Name: Erlang/OTP ssl - Weak Cryptography
  • 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.
  • Impact: Attackers can bypass source address verification, enabling DTLS handshake amplification with spoofed source addresses during server startup window.
  • Remediation: Upgrade to OTP 29.0.3, 28.5.0.3, 27.3.4.14 or later versions.
  • Vulnerability type: weak_cryptography
  • Vulnerability impact: denial_of_service
  • Requirements: Attacker must observe plaintext ClientHello during server startup window
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00252
  • Epss percentile: 0.16778
  • Assignee: 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
  • Published at: 2026-07-02T17:17:02Z
  • Age in days: 145
  • Modified at: 2026-11-20T06:17:31Z
  • Patch available: yes
  • References total: 6
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-54887
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirement type, hackerone

Cwe

IdName
CWE-1394Use of Default Cryptographic Key

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/erlang/otp/commit/888e3bcd72d5406016b9e0de741026bc2a6f114dPatch
https://cna.erlef.org/cves/CVE-2026-54887.htmlVendor Advisory
https://github.com/erlang/otp/security/advisories/GHSA-p2m2-3c2w-8jp8Vendor Advisory
https://osv.dev/vulnerability/EEF-CVE-2026-54887Third Party Advisory
https://www.erlang.org/doc/system/versions.html#order-of-versionsRelease Notes
https://github.com/erlang/otp/commit/e594aad2f87aab39e99fccf9e021bc94e0bbf7d4

Products

ProductAffectedPlatform boundSourcesUrl
erlang:erlang/otp>= 29.0, < 29.0.3; >= 28.0, < 28.5.0.3; >= 20.0, < 27.3.4.14nonvd/v1/products/erlang/erlang/otp
erlang:erlang/ssl>= 11.7, < 11.7.3; >= 11.3, < 11.6.0.3; >= 8.2, < 11.2.12.10nonvd/v1/products/erlang/erlang/ssl

Projects

RepositoryLink kindsIndexedUrl
erlang/otpcna_commit, commit, fix, security_advisoryyes/v1/repositories/erlang/otp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts