Skip to main content

Erlang/OTP CVE-2026-54887

| EUVDEUVD-2026-41411 MEDIUM
Use of Default Cryptographic Key (CWE-1394)
2026-07-02 EEF
6.3
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Monitor target for DTLS server startup
  2. Delivery
    Observe plaintext ClientHello within 15-second window
  3. Exploit
    Compute HMAC cookie using known empty key
  4. Execution
    Forge ClientHellos with spoofed victim source IPs
  5. Persist
    Server allocates state for non-existent peers
  6. Impact
    Amplify traffic toward spoofed targets

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism
Exploitation Conditions

Exploitation requires three concurrent conditions to hold: the DTLS server must be within its 0-to-15-second startup window before the first cookie secret rotation occurs; the attacker must have network visibility to observe a plaintext DTLS ClientHello exchange (ClientHello is inherently unencrypted per the DTLS handshake design, so any on-path or passive observer qualifies); and the attacker must be able to send UDP packets with spoofed source addresses to the server. The CVSS 4.0 vector confirms no authentication is required (PR:N). Exploitation is strictly impossible outside the startup timing window - after the first secret rotation, the cookie secret becomes random and unpredictable. The vulnerability does not bypass DTLS authentication, does not expose application data, and does not compromise integrity; it solely defeats the RFC 6347 source address verification DoS mitigation. Deployments behind strict BCP38 ingress filtering that drop spoofed-source packets are not exploitable for the amplification attack scenario.

Impact

The vendor-published CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N, score 6.3) captures three key constraints: the attack is network-accessible and requires no authentication, but exploitation is gated by a precise timing condition (AT:P) - the predictable window lasts only 0 to 15 seconds after each server startup. Impact is limited to availability (VA:L), specifically the erosion of the DoS protection afforded by DTLS cookies; confidentiality and integrity are entirely unaffected. The vulnerability is not listed in CISA KEV, no proof-of-concept code has been identified, and EPSS data was absent from the available intelligence, leaving exploitation probability in the wild unknown. The practical threat model is a volumetric amplification attack against DTLS-exposed services on untrusted networks - a realistic concern for telecom, IoT, and SIP/SRTP deployments. For environments where DTLS servers restart infrequently or are isolated behind ingress filtering, residual risk is low; for internet-facing DTLS endpoints with frequent process restarts, prompt patching is warranted.

Exploit ScenarioDerived

An on-path attacker positioned to observe UDP traffic to a newly started DTLS server sends a legitimate ClientHello during the 0-to-15-second startup window, captures the server's plaintext HelloVerifyRequest, and independently computes the deterministic HMAC cookie using the publicly known empty key. The attacker then sends a high volume of ClientHellos with spoofed victim source IP addresses carrying valid forged cookies, causing the server to allocate handshake state and perform expensive cryptographic operations on behalf of non-existent peers - reflecting amplified traffic toward spoofed targets. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 02, 2026

The DTLS server in Erlang/OTP ssl initializes its cookie secret to a hardcoded empty binary on startup, making HMAC-based cookie computation deterministic and fully predictable to any network observer for the 0-to-15-second window before the first secret rotation. Any attacker who can observe a plaintext DTLS ClientHello during this window can forge valid cookies, bypassing the RFC 6347 §4.2.1 source address verification mechanism and enabling handshake amplification attacks with spoofed source IPs. No public exploit has been identified at time of analysis; vendor-released patches are available in OTP 29.0.3, 28.5.0.3, and 27.3.4.14.

RemediationAI

Upgrade Erlang/OTP to version 29.0.3, 28.5.0.3, or 27.3.4.14 (corresponding to ssl library versions 11.7.3, 11.6.0.3, or 11.2.12.10 respectively), which replace the hardcoded empty-binary initial cookie secret with a cryptographically random value. The fix commit is publicly available at https://github.com/erlang/otp/commit/888e3bcd72d5406016b9e0de741026bc2a6f114d and the vendor advisory at https://github.com/erlang/otp/security/advisories/GHSA-p2m2-3c2w-8jp8. If patching is not immediately possible, applying BCP38-compliant ingress filtering to block inbound UDP packets with spoofed source addresses at the network border prevents the amplification use case, though it does not eliminate the predictable cookie computation itself and offers no protection against on-path attackers within the trusted perimeter. Additionally, restricting DTLS listener exposure to trusted network segments reduces the feasibility of observing plaintext ClientHellos. Neither workaround substitutes for patching.

Affected VersionsENISA

otp 20.0 <*
otp e594aad2f87aab39e99fccf9e021bc94e0bbf7d4 <888e3bcd72d5406016b9e0de741026bc2a6f114d
otp 8.2 <*

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

DTLS (Datagram Transport Layer Security) extends TLS over UDP and incorporates a stateless cookie exchange (RFC 6347 §4.2.1) to prevent denial-of-service attacks from spoofed source addresses; the cookie is an HMAC over the client IP, port, and ClientHello, keyed by a server-side secret. In Erlang/OTP's ssl library, the function dtls_server_connection:initial_hello/3 in lib/ssl/src/dtls_server_connection.erl initializes previous_cookie_secret to the empty binary (<<>>) rather than a cryptographically random value. Because HMAC with an empty key is entirely deterministic, the computation dtls_handshake:cookie(<<>>, IP, Port, Hello) produces a value that any observer of the plaintext ClientHello can reproduce independently. This is a textbook instance of CWE-1394 (Use of Default Cryptographic Key): a security-sensitive secret initialized to a known constant, defeating the randomness property on which the mechanism depends. The vulnerability spans OTP versions from 20.0 through pre-patch releases of the 27, 28, and 29 branches, as identified by CPE cpe:2.3:a:erlang:otp.

Know when Erlang gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (EEF) PRIMARY 6.3 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
vuln.today AI 3.7 LOW

Network-reachable with no auth required, but the 15-second timing window constraint elevates AC to H; impact is availability-only with no data exposure.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
SUSE 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Primary rating from Vendor (EEF).

CVSS VectorVendor: EEF

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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 29.0.3, 28.5.0.3 and 27.3.4.14 corresponding to ssl from 8.2 before 11.7.3, 11.6.0.3 and 11.2.12.10.

Threat Intelligence Overview

EPSS Score
0.4%
Top 69% exploitable
Prevalence
Medium
widely used in telecom, IoT, and high-availability Erlang/Elixir services
Data Quality
8 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment MSRC Vendor GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Erlang

View all
CVE-2025-32433 CRITICAL POC
10.0 Apr 16

Erlang/OTP SSH server allows unauthenticated remote code execution by exploiting a flaw in SSH protocol message handling

CVE-2017-1000385 MEDIUM POC
5.9 Dec 12

The Erlang otp TLS server answers with different TLS alerts to different error types in the RSA PKCS #1 1.5 padding. Rat

CVE-2023-48795 MEDIUM POC
5.9 Dec 18

The SSH transport protocol with certain OpenSSH extensions, found in OpenSSH before 9.6 and other products, allows remot

CVE-2020-13802 CRITICAL POC
9.8 Sep 02

Rebar3 versions 3.0.0-beta.3 to 3.13.2 are vulnerable to OS command injection via URL parameter of dependency specificat

CVE-2014-1693 HIGH POC
7.5 Dec 08

Multiple CRLF injection vulnerabilities in the FTP module in Erlang/OTP R15B03 allow context-dependent attackers to inje

CVE-2021-29221 HIGH POC
7.0 Apr 09

A local privilege escalation vulnerability was discovered in Erlang/OTP prior to version 23.2.3. Rated high severity (CV

CVE-2016-10253 CRITICAL
9.8 Mar 18

An issue was discovered in Erlang/OTP 18.x. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitab

CVE-2022-37026 CRITICAL
9.8 Sep 21

In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in

CVE-2026-89422 CRITICAL
9.3 Sep 22

Erlang/OTP's ssl application in affected releases (OTP 22.2 through the fixed 27.3.4.18, 28.5.0.7 and 29.1.1) will compl

CVE-2026-67404 CRITICAL
9.2 Sep 23

RabbitMQ brokers that use the OAuth2 plugin can silently fall back to disabled TLS certificate verification when no CA b

CVE-2026-115693 CRITICAL
9.1 Oct 26

Improper certificate validation in the Erlang HTTP client hackney (1.24.0 through 4.8.x) lets an on-path attacker impers

CVE-2026-67231 CRITICAL
9.1 Sep 23

TLS client-authentication bypass in the RabbitMQ trust-store plugin lets a remote unauthenticated attacker whose forged

Vendor StatusVendor

SUSE

Severity: Moderate
Product Status
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise High Performance Computing 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Module for Server Applications 15 SP7 Affected
SUSE Linux Enterprise Server 15 SP7 Affected

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy