CVE-2026-54890
BEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decoding
Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer Overflow, Excessive Allocation. This vulnerability is associated with program files erts/emulator/beam/external.c, emulator/beam/external.c. The BIT_BINARY_EXT tag (77) handler in the External Term Format (ETF) decoder accepts an encoding with both length and trailing-bits fields set to zero. The subsequent computation of the bitstring size underflows an unsigned integer, producing a value of roughly 2^64 that is then passed as a memory allocation size. The allocator aborts the entire node with a message such as Cannot allocate 2305843009213693951 bytes of memory (of type "binary"). The crash is a VM-level abort, not an Erlang-level exception. It cannot be intercepted by supervision trees, by try/catch, or by passing the [safe] option to binary_to_term/2 (which only restricts atom creation and does not perform structural validation of binary encodings). Any application that decodes ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also decodes incoming terms through the same code path, but distribution is expected to run on trusted networks per the OTP Secure Coding Guidelines (DSG-011). This issue affects OTP from OTP 27.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 15.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.451% · 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 6b3ad84c-e1a6-4bf7-a703-f496b71e49dbCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Assessment source · checked 2026-11-19T12:41:35.955Z
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:58:50.240Z
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:12.361Z
CVSS 3.1 · 7.5 · published by [email protected]CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:41:35.955Z
CVSS 3.1 · 7.5 · published by Ubuntu SecurityCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:50:12.361Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:25:55.090Z | CISA KEV |
| cvss | verified | 2026-11-19T12:41:35.955Z | NVD |
| epss | verified | 2026-11-19T16:04:52.292Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:50:12.361Z | Ubuntu Security |
| affected | verified | 2026-11-19T12:58:50.240Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:50.240Z | CVE Program |
Affected versions and configuration
Erlang OTP; modules: erts; default status: unaffected: 27.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.15","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"29.0.4","status":"unaffected"}] Erlang OTP; modules: erts; default status: unaffected: 15.0 to < * [affected; scheme: otp]; changes: [{"at":"15.2.7.11","status":"unaffected"},{"at":"16.4.0.4","status":"unaffected"},{"at":"17.0.4","status":"unaffected"}] Erlang OTP; modules: erts; default status: unaffected: 24ef4cbaeda9b9c26682cba75f2f15b0c58722aa to < dc1bf9344c0ce62717cf60866590cea0242780fd [affected; 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": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "27.3.4.15",
"status": "unaffected"
},
{
"at": "28.5.0.4",
"status": "unaffected"
},
{
"at": "29.0.4",
"status": "unaffected"
}
],
"version": "27.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:software-id/erlang.org/otp",
"packageName": "otp",
"programFiles": [
"erts/emulator/beam/external.c"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"changes": [
{
"at": "15.2.7.11",
"status": "unaffected"
},
{
"at": "16.4.0.4",
"status": "unaffected"
},
{
"at": "17.0.4",
"status": "unaffected"
}
],
"version": "15.0",
"lessThan": "*",
"versionType": "otp"
}
],
"packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
"packageName": "erts",
"programFiles": [
"emulator/beam/external.c"
],
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
},
{
"cpes": [
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
],
"repo": "https://github.com/erlang/otp",
"vendor": "Erlang",
"modules": [
"erts"
],
"product": "OTP",
"versions": [
{
"status": "affected",
"version": "24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
"lessThan": "dc1bf9344c0ce62717cf60866590cea0242780fd",
"versionType": "git"
}
],
"packageURL": "pkg:github/erlang/otp",
"packageName": "erlang/otp",
"programFiles": [
"erts/emulator/beam/external.c"
],
"collectionURL": "https://github.com",
"defaultStatus": "unaffected",
"programRoutines": [
{
"name": "erlang:binary_to_term/1"
},
{
"name": "erlang:binary_to_term/2"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-54890",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-07-27T18:18:57.223218Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-07-27T18:19:08.876Z"
}
}
]
}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": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "bionic"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "focal"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "jammy"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "noble"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "trusty"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:29.0.6+dfsg-1",
"release_codename": "upstream"
},
{
"pocket": "security",
"status": "not-affected",
"component": null,
"description": "vulnerable code not present",
"release_codename": "xenial"
},
{
"pocket": "security",
"status": "released",
"component": null,
"description": "1:27.3.4.6+dfsg-1ubuntu0.1",
"release_codename": "resolute"
}
]
}
]Archived source JSONNVD · nvd-cpe · full conditions
[
{
"nodes": [
{
"negate": false,
"cpeMatch": [
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E7740717-E30D-4D4B-8226-037788AA2440",
"versionEndExcluding": "27.3.4.15",
"versionStartIncluding": "27.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
"versionEndExcluding": "28.5.0.4",
"versionStartIncluding": "28.0"
},
{
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
"versionEndExcluding": "29.0.4",
"versionStartIncluding": "29.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "11B1C890-908F-4DA6-BA70-903488089424",
"versionEndExcluding": "15.2.7.11",
"versionStartIncluding": "15.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "31D9076A-4078-4597-A518-12B6E55007B8",
"versionEndExcluding": "16.4.0.4",
"versionStartIncluding": "16.0"
},
{
"criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
"vulnerable": true,
"matchCriteriaId": "7EC53F68-5A92-4EF5-8789-1905C50D85BF",
"versionEndExcluding": "17.0.4",
"versionStartIncluding": "17.0"
}
],
"operator": "OR"
}
]
}
]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-note | upstream / upstream | erlang | Not a distribution channel | 1:29.0.6+dfsg-1 | Official record |
| distribution-package | Ubuntu / resolute | erlang | security | 1:27.3.4.6+dfsg-1ubuntu0.1 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- NVDConsulted: 2026-11-19T12:41:35.955ZArchived source JSON
Source publication: 2026-07-27T16:17:41.437Z
Source modification: 2026-11-11T19:17:41.977ZDocument fingerprint
e759e6d1e6804b37fd78e80e5e8ae7f3aeb60cbc655f9954c7d95508e6d7a6be - Ubuntu SecurityConsulted: 2026-11-19T12:50:12.361ZArchived source JSON
Source publication: 2026-07-27T16:17:00.000Z
Source modification: 2026-11-18T10:43:23.094ZDocument fingerprint
3bea82ddb82a2efaff19068319f9c582502c8ffb637adc5eea36f47c2794f260 - CVE ProgramConsulted: 2026-11-19T12:58:50.240ZArchived source JSON
Source publication: 2026-07-27T15:39:03.475Z
Source modification: 2026-11-19T06:56:35.702ZDocument fingerprint
f7b1eee71510d91b384703ddbf1b7f814485cd3fa25fbacd3e31b01cd127c373 - 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:52.292ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
0d84b03fefd8b98c35ff48b41c93fc695fb5d5ea3135764678445722abcd97c6
Official status history
- UNKNOWN → PUBLISHED · · evidence