Skip to main content

Erlang/OTP CVE-2026-65634

| EUVDEUVD-2026-84340 HIGH
Inefficient Algorithmic Complexity (CWE-407)
2026-09-22 EEF
8.2
CVSS 4.0 · Vendor: EEF
View

Attack ChainAIDerived

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

  1. Access
    Connect to Erlang TLS service (or trigger client connect)
  2. Delivery
    Present cert with oversized OID arc
  3. Exploit
    pkix_decode_cert invokes vulnerable OID decoder pre-verification
  4. Execution
    Quadratic base-128 accumulation burns CPU
  5. Persist
    Repeat to exhaust schedulers
  6. Impact
    Service/node denial of service

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Algorithmic complexity limits
Exploitation Conditions

Exploitable against any Erlang/OTP service (versions 17.0 up to 27.3.4.18 / 28.5.0.7 / 29.1.1) that parses a peer's X.509 certificate during the TLS handshake - this is the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates). No authentication, user interaction, or non-default configuration is required, and the vulnerable OID decoder executes before signature/trust-chain verification so an untrusted/self-signed certificate is sufficient. The limiting factor is that the attacker must craft a certificate containing an OBJECT IDENTIFIER with a single very large arc (roughly 262KB of continuation bytes) to reach ~13s CPU per parse; impact is availability only, and sustained denial of service requires repeated connections. Services that never parse peer certificates (e.g. plain TLS clients not validating, or non-TLS workloads) are not exposed via this path, though the JER json2oid path is also affected for JSON-encoded OID input.

Impact

This is a genuine but bounded-severity issue. The CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H, base 8.2) is internally consistent with the description: fully remote, unauthenticated, low complexity, availability-only impact. The AT:P (attack requirements present) captures that the attacker must craft a specifically malformed OID rather than send arbitrary traffic. No EPSS score, no CISA KEV listing, and no public proof-of-concept were provided, so exploitation is speculative at this stage - no public exploit identified at time of analysis. There is no CWE-407 SSVC/automatable signal supplied. The impact ceiling is CPU exhaustion (~13s per crafted 262KB arc), so a single request is a resource-amplification primitive rather than instant takedown - sustained DoS requires repeated requests. Importantly, the vulnerable decoder runs during X.509 parsing BEFORE any signature/trust-chain verification, which removes the usual mitigation that invalid certs are rejected early, and it affects the default TLS-client path (server-cert parsing) as well as mTLS servers. Net: real and worth patching for internet-facing Erlang TLS services, but a confidentiality/integrity-neutral DoS, not a critical RCE - the 8.2 reflects reachability and unauth access, not catastrophic impact.

Exploit ScenarioDerived

An unauthenticated attacker connects to (or lures a connection from) any Erlang/OTP service that parses peer TLS certificates and presents a certificate containing an OBJECT IDENTIFIER with one very large arc (~262KB of base-128 continuation bytes). The quadratic decoder in asn1rtt_ber/asn1rtt_per_common burns ~13 seconds of CPU per certificate before trust verification even begins, and repeated connections exhaust the scheduler and starve the node. No public exploit code is available, but the malformed-OID payload is trivial to construct.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Sep 22, 2026

Denial of service in Erlang/OTP's ASN.1 OBJECT IDENTIFIER decoders allows a remote, unauthenticated attacker to stall TLS-processing services by sending a crafted certificate during the handshake. Erlang/OTP releases from OTP 17.0 up to the fixed versions OTP 27.3.4.18, OTP 28.5.0.7 and OTP 29.1.1 are affected whenever the service parses a peer's X.509 certificate - the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers - because the vulnerable BER OID decoder runs before signature and trust-chain verification, so an untrusted self-signed certificate is sufficient to trigger it. A single crafted OID with one very large arc (roughly 262 KB of continuation bytes) burns about 13 seconds of CPU, so sustained denial of service requires repeated connections; no public exploit code identified at time of analysis, and the impact is availability only (vendor CVSS 8.2; independently assessed as CVSS 3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

RemediationAI

Vendor-released patch: upgrade to Erlang/OTP 27.3.4.18, 28.5.0.7 or 29.1.1 (shipping asn1 5.3.4.3, 5.4.3.1 and 5.5.2 respectively), which contain the bounded OID/tag decoders from commit 0fe2c02fdc06fab1c63be9db1a7456993d20f838; consult the vendor advisory at https://github.com/erlang/otp/security/advisories/GHSA-qghx-23m5-r55m for the authoritative fixed-version mapping, and note that the patch rejects any OID component exceeding 16 continuation bytes (BER/PER) or a 32-byte JSON subidentifier, so legitimate OIDs with unusually large arcs beyond those limits will now fail to decode. If patching must be deferred, the most effective compensating control is to keep untrusted certificates out of the vulnerable decoder by terminating TLS in a non-Erlang front end (nginx, HAProxy, Envoy) and forwarding to the OTP application over plaintext or a trusted channel, accepting the cost of an extra hop and the need to preserve end-to-end client identity separately; alternatively, services that must keep TLS in OTP should enable verification-timeout and connection-rate limits, cap concurrent handshakes and set short handshake timeouts so that repeated ~13-second CPU burns are throttled, with the trade-off of degraded legitimate connection throughput and possible rejection of slow clients. Applications that consume JSON OIDs should reject or truncate oversized subidentifiers at the application boundary before invoking JER decoding, and JER decoding of untrusted input should be avoided or size-limited, since the json2oid fix only applies once upgraded. Monitor for elevated CPU in TLS accept/handshake paths and for certificates carrying abnormally large OBJECT IDENTIFIER components as a detection signal; there is no configuration switch that disables the vulnerable decoder within unpatched releases, so prompt upgrade remains the only complete fix.

Affected VersionsENISA

otp 84adefa331c4159d432d22840663c38f155cd4c1 <0fe2c02fdc06fab1c63be9db1a7456993d20f838
otp 17.0 <*
otp 3.0 <*

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

The root cause is CWE-407, inefficient algorithmic complexity, in the runtime ASN.1 OBJECT IDENTIFIER decoders that the Erlang ASN.1 compiler generates into every module declaring an OID, including OTP-PUB-KEY which is reached through public_key:pkix_decode_cert/2 during X.509 certificate parsing. The BER helper asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl, and its PER counterpart asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl, decode a base-128 subidentifier by repeatedly shifting and adding each continuation byte into an accumulator (Av bsl 7) + H without any bound on the accumulated value; because each shift and addition operates on an integer that grows with every byte, the work per continuation byte is linear in the bits already accumulated, producing quadratic total cost in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl has the same class of unbounded-integer parsing when converting a dot-separated OID string from JSON via binary_to_integer/1, and the dynamic-sort tag decoder dynsort_decode_tag had an analogous overlong-tag weakness. The upstream fix (commit 0fe2c02fdc06fab1c63be9db1a7456993d20f838) rejects overlong components by capping the number of accumulated continuation bytes at 16 (112 bits, versus Go's documented 30-bit per-component limit) in the BER/PER paths and at a 32-byte subidentifier length in the JER path, returning an empty result and thereby raising a decode error instead of consuming CPU. The associated CPE entries are cpe:2.3:a:erlang:otp, confirming the affected product family, and the issue is reported by the Erlang Ecosystem Foundation (EEF).

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 8.2 HIGH
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Remote unauthenticated cert parsing before verification (AV:N/PR:N/UI:N/AC:L); crafted-OID payload is easy so AC stays L; availability-only quadratic CPU exhaustion (A:H, C/I:N).

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

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
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Inefficient algorithmic complexity in the Erlang/OTP asn1 OBJECT IDENTIFIER decoder allows a remote unauthenticated attacker to cause denial of service by sending a crafted OID during the TLS handshake.

The BER OID decoder asn1rtt_ber:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_ber.erl and the equivalent PER helper asn1rtt_per_common:dec_subidentifiers/3 in lib/asn1/src/asn1rtt_per_common.erl accumulate a base-128 subidentifier into an unbounded integer using (Av bsl 7) + H per continuation byte. Each shift and addition on the growing accumulator is linear in the number of bits already accumulated, giving quadratic total work in the size of a single subidentifier. The JER helper asn1rtt_jer:json2oid/1 in lib/asn1/src/asn1rtt_jer.erl exhibits the same class of unbounded-integer parsing when decoding a dot-separated OID from JSON. A DER-encoded OBJECT IDENTIFIER with one very large arc (approximately 262 KB of continuation bytes) consumes roughly 13 seconds of CPU on typical hardware.

The vulnerable decoder is generated into every ASN.1 module that contains an OBJECT IDENTIFIER, including OTP-PUB-KEY which is reached during X.509 certificate parsing via public_key:pkix_decode_cert/2. This decoder runs before any signature or trust chain verification, so any Erlang service that parses peer TLS certificates is exposed: the default for TLS clients (which always parse the server certificate) and for mutual-TLS servers (which parse client certificates).

This vulnerability is associated with program files lib/asn1/src/asn1rtt_ber.erl, lib/asn1/src/asn1rtt_per_common.erl and lib/asn1/src/asn1rtt_jer.erl and program routines asn1rtt_ber:dec_subidentifiers/3, asn1rtt_per_common:dec_subidentifiers/3 and asn1rtt_jer:json2oid/1.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.18, OTP 28.5.0.7, and OTP 29.1.1, corresponding to asn1 from 3.0 before 5.3.4.3, 5.4.3.1, and 5.5.2. Whether OTP before OTP 17.0, corresponding to asn1 before 3.0, is affected is unknown.

Technical POC Analysis

CWE-407 (Inefficient Algorithmic Complexity).

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

Erlang/OTP TLS services can be stalled by a crafted certificate, creating a denial-of-service risk for organizations that rely on Erlang-based messaging, database, or API platforms for availability. Because the flaw is remotely reachable by an unauthenticated attacker and affects default TLS clients and mutual-TLS servers, leadership should prioritize patching internet-facing and internal Erlang/OTP deployments to prevent service interruptions and customer-facing outages.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.2%
Top 83% exploitable
Prevalence
Medium
Erlang/OTP is a niche runtime but core to RabbitMQ, ejabberd, CouchDB and telecom infra
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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

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: Important
Product Status
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
SUSE Linux Enterprise Server 15 SP7 Affected
SUSE Linux Enterprise Server 16.0 Affected

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