# CVE-2026-65634: Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **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: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.42% (percentile 28, 2026-11-26)
- **CWE:** CWE-407
- **Published:** 2026-09-22T08:49:24.743Z
- **Modified:** 2026-11-20T06:17:34.857Z

## Who should check

- Anyone running Erlang OTP \>= 3.0, \< \*
- Anyone running Erlang OTP \>= 17.0, \< \*
- Anyone running Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 0fe2c02fdc06fab1c63be9db1a7456993d20f838

## Description

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.

## Affected and fixed versions

- Erlang OTP: \>= 3.0, \< \* (cvelist)
- Erlang OTP: \>= 17.0, \< \* (cvelist)
- Erlang OTP: \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 0fe2c02fdc06fab1c63be9db1a7456993d20f838 (cvelist)

## Mitigation

- Upgrade OTP to 0fe2c02fdc06fab1c63be9db1a7456993d20f838 or later.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2026-65634.md
Affected: Erlang OTP >= 3.0, < *; Erlang OTP >= 17.0, < *; Erlang OTP >= 84adefa331c4159d432d22840663c38f155cd4c1, < 0fe2c02fdc06fab1c63be9db1a7456993d20f838
Fixed in: Erlang OTP 0fe2c02fdc06fab1c63be9db1a7456993d20f838

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

## FAQ

### Is CVE-2026-65634 being exploited?

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

### How serious is CVE-2026-65634?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-65634?

Erlang OTP \>= 3.0, \< \*; Erlang OTP \>= 17.0, \< \*; Erlang OTP \>= 84adefa331c4159d432d22840663c38f155cd4c1, \< 0fe2c02fdc06fab1c63be9db1a7456993d20f838.

### Is there a fix for CVE-2026-65634?

Yes. Fixed in Erlang OTP 0fe2c02fdc06fab1c63be9db1a7456993d20f838. Upgrade OTP to 0fe2c02fdc06fab1c63be9db1a7456993d20f838 or later.

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

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.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-qghx-23m5-r55m>
- patch: <https://github.com/erlang/otp/commit/0fe2c02fdc06fab1c63be9db1a7456993d20f838>
- other: <https://cna.erlef.org/cves/CVE-2026-65634.html>
- other: <https://osv.dev/vulnerability/EEF-CVE-2026-65634>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-65634>

HTML: <https://flawdb.com/CVE-2026-65634> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-65634>
