CVE-2026-65634
Superlinear CPU denial of service in Erlang/OTP ASN.1 OBJECT IDENTIFIER decoder
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.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.266% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.
CVSS 4.0 · 8.2 · published by EEFCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:59:00.345Z
CVSS 4.0 · 8.2 · published by Ubuntu SecurityCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:50:11.527Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:00.345Z | CVE Program |
| epss | verified | 2026-11-19T16:04:53.982Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:50:11.527Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:59:00.345Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:00.345Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: asn1rtt_ber, asn1rtt_per_common, asn1rtt_jer; default status: unknown: 17.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.18","status":"unaffected"},{"at":"28.5.0.7","status":"unaffected"},{"at":"29.1.1","status":"unaffected"}] Erlang OTP; modules: asn1rtt_ber, asn1rtt_per_common, asn1rtt_jer; default status: unknown: 3.0 to < * [affected; scheme: otp]; changes: [{"at":"5.3.4.3","status":"unaffected"},{"at":"5.4.3.1","status":"unaffected"},{"at":"5.5.2","status":"unaffected"}] Erlang OTP; modules: asn1rtt_ber, asn1rtt_per_common, asn1rtt_jer; default status: unknown: 84adefa331c4159d432d22840663c38f155cd4c1 to < 0fe2c02fdc06fab1c63be9db1a7456993d20f838 [affected; scheme: git]; 0fe2c02fdc06fab1c63be9db1a7456993d20f838 to < * [unaffected; scheme: git]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"vendor": "Erlang",
"modules": [
"asn1rtt_ber",
"asn1rtt_per_common",
"asn1rtt_jer"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.18",
"status": "unaffected"
},
{
"at": "28.5.0.7",
"status": "unaffected"
},
{
"at": "29.1.1",
"status": "unaffected"
}
],
"version": "17.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"lib/asn1/src/asn1rtt_ber.erl",
"lib/asn1/src/asn1rtt_per_common.erl",
"lib/asn1/src/asn1rtt_jer.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "asn1rtt_ber:dec_subidentifiers/3"
},
{
"name": "asn1rtt_per_common:dec_subidentifiers/3"
},
{
"name": "asn1rtt_jer:json2oid/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"asn1rtt_ber",
"asn1rtt_per_common",
"asn1rtt_jer"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "5.3.4.3",
"status": "unaffected"
},
{
"at": "5.4.3.1",
"status": "unaffected"
},
{
"at": "5.5.2",
"status": "unaffected"
}
],
"version": "3.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/asn1?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "asn1",
"programFiles": [
"src/asn1rtt_ber.erl",
"src/asn1rtt_per_common.erl",
"src/asn1rtt_jer.erl"
],
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "asn1rtt_ber:dec_subidentifiers/3"
},
{
"name": "asn1rtt_per_common:dec_subidentifiers/3"
},
{
"name": "asn1rtt_jer:json2oid/1"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"asn1rtt_ber",
"asn1rtt_per_common",
"asn1rtt_jer"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "84adefa331c4159d432d22840663c38f155cd4c1",
"lessThan": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
"versionType": "git"
},
{
"status": "unaffected",
"version": "0fe2c02fdc06fab1c63be9db1a7456993d20f838",
"lessThan": "*",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"lib/asn1/src/asn1rtt_ber.erl",
"lib/asn1/src/asn1rtt_per_common.erl",
"lib/asn1/src/asn1rtt_jer.erl"
],
"collectionURL": "https://github.com",
"defaultStatus": "unknown",
"programRoutines": [
{
"name": "asn1rtt_ber:dec_subidentifiers/3"
},
{
"name": "asn1rtt_per_common:dec_subidentifiers/3"
},
{
"name": "asn1rtt_jer:json2oid/1"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-65634",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-22T10:12:07.686442Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-22T10:15:28.691Z"
}
}
]
}Archived source JSONUbuntu Security · ubuntu-package · full conditions
[
{
"name": "erlang",
"debian": "https://tracker.debian.org/pkg/erlang",
"source": "https://ubuntu.com/security/cve?package=erlang",
"ubuntu": "https://packages.ubuntu.com/search?suite=all§ion=all&arch=any&searchon=sourcenames&keywords=erlang",
"statuses": [
{
"pocket": "security",
"status": "released",
"component": null,
"description": "29.1.1",
"release_codename": "upstream"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:18.3-dfsg-1ubuntu3.1+esm4",
"release_codename": "xenial"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:20.2.2+dfsg-1ubuntu2+esm4",
"release_codename": "bionic"
},
{
"pocket": "esm-infra",
"status": "released",
"component": null,
"description": "1:22.2.7+dfsg-1ubuntu0.5+esm3",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:24.2.1+dfsg-1ubuntu0.8",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:25.3.2.8+dfsg-1ubuntu4.8",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.2",
"release_codename": "resolute"
},
{
"pocket": "esm-infra-legacy",
"status": "released",
"component": null,
"description": "1:16.b.3-dfsg-1ubuntu2.2+esm3",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "needed",
"component": null,
"description": "",
"release_codename": "stonking"
}
]
}
]Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| upstream-release | upstream / upstream | erlang | Not a distribution channel | 29.1.1 | Official record |
| distribution-package | Ubuntu / xenial | erlang | esm-infra-legacy | 1:18.3-dfsg-1ubuntu3.1+esm4 | Official record |
| distribution-package | Ubuntu / bionic | erlang | esm-infra | 1:20.2.2+dfsg-1ubuntu2+esm4 | Official record |
| distribution-package | Ubuntu / focal | erlang | esm-infra | 1:22.2.7+dfsg-1ubuntu0.5+esm3 | Official record |
| distribution-package | Ubuntu / jammy | erlang | security | 1:24.2.1+dfsg-1ubuntu0.8 | Official record |
| distribution-package | Ubuntu / noble | erlang | security | 1:25.3.2.8+dfsg-1ubuntu4.8 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.2 | Official record |
| distribution-package | Ubuntu / trusty | erlang | esm-infra-legacy | 1:16.b.3-dfsg-1ubuntu2.2+esm3 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- Ubuntu SecurityConsulted: 2026-11-19T12:50:11.527ZArchived source JSON
Source publication: 2026-09-22T00:00:00.000Z
Source modification: 2026-10-08T15:13:01.657ZDocument fingerprint
2b554f1c4043583da2ef99457bf2d2db321692bdd296c3650a7fec7bc7432f48 - CVE ProgramConsulted: 2026-11-19T12:59:00.345ZArchived source JSON
Source publication: 2026-09-22T08:49:24.743Z
Source modification: 2026-11-19T08:27:40.168ZDocument fingerprint
d76da1a6f73c31adb985243d5e651995667269ef4509c0047870e77f1bc3b644 - CISA KEVConsulted: 2026-11-19T16:25:55.090ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:53.982ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
02f716adbfe8e4b3cb0489a50d5e3ba9c4249656218c1bd7ac535713ed705366
Official status history
- UNKNOWN → PUBLISHED · · evidence