405 lines
21 KiB
JSON
405 lines
21 KiB
JSON
{
|
||
"dataType": "CVE_RECORD",
|
||
"dataVersion": "5.2",
|
||
"cveMetadata": {
|
||
"cveId": "CVE-2026-54890",
|
||
"assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
|
||
"state": "PUBLISHED",
|
||
"assignerShortName": "EEF",
|
||
"dateReserved": "2026-06-16T10:47:13.915Z",
|
||
"datePublished": "2026-07-27T15:39:03.475Z",
|
||
"dateUpdated": "2026-11-11T18:47:44.385Z"
|
||
},
|
||
"containers": {
|
||
"cna": {
|
||
"affected": [
|
||
{
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"erts"
|
||
],
|
||
"packageName": "otp",
|
||
"packageURL": "pkg:software-id/erlang.org/otp",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"erts/emulator/beam/external.c"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "erlang:binary_to_term/1"
|
||
},
|
||
{
|
||
"name": "erlang:binary_to_term/2"
|
||
}
|
||
],
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"changes": [
|
||
{
|
||
"at": "27.3.4.15",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "28.5.0.4",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "29.0.4",
|
||
"status": "unaffected"
|
||
}
|
||
],
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"version": "27.0",
|
||
"versionType": "otp"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"erts"
|
||
],
|
||
"packageName": "erts",
|
||
"packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"emulator/beam/external.c"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "erlang:binary_to_term/1"
|
||
},
|
||
{
|
||
"name": "erlang:binary_to_term/2"
|
||
}
|
||
],
|
||
"repo": "https://github.com/erlang/otp",
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"changes": [
|
||
{
|
||
"at": "15.2.7.11",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "16.4.0.4",
|
||
"status": "unaffected"
|
||
},
|
||
{
|
||
"at": "17.0.4",
|
||
"status": "unaffected"
|
||
}
|
||
],
|
||
"lessThan": "*",
|
||
"status": "affected",
|
||
"version": "15.0",
|
||
"versionType": "otp"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"collectionURL": "https://github.com",
|
||
"cpes": [
|
||
"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
|
||
],
|
||
"defaultStatus": "unaffected",
|
||
"modules": [
|
||
"erts"
|
||
],
|
||
"packageName": "erlang/otp",
|
||
"packageURL": "pkg:github/erlang/otp",
|
||
"product": "OTP",
|
||
"programFiles": [
|
||
"erts/emulator/beam/external.c"
|
||
],
|
||
"programRoutines": [
|
||
{
|
||
"name": "erlang:binary_to_term/1"
|
||
},
|
||
{
|
||
"name": "erlang:binary_to_term/2"
|
||
}
|
||
],
|
||
"repo": "https://github.com/erlang/otp",
|
||
"vendor": "Erlang",
|
||
"versions": [
|
||
{
|
||
"lessThan": "dc1bf9344c0ce62717cf60866590cea0242780fd",
|
||
"status": "affected",
|
||
"version": "24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
|
||
"versionType": "git"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"cpeApplicability": [
|
||
{
|
||
"nodes": [
|
||
{
|
||
"cpeMatch": [
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "27.3.4.15",
|
||
"versionStartIncluding": "27.0",
|
||
"vulnerable": true
|
||
},
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "28.5.0.4",
|
||
"versionStartIncluding": "28.0",
|
||
"vulnerable": true
|
||
},
|
||
{
|
||
"criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
|
||
"versionEndExcluding": "29.0.4",
|
||
"versionStartIncluding": "29.0",
|
||
"vulnerable": true
|
||
}
|
||
],
|
||
"negate": false,
|
||
"operator": "OR"
|
||
}
|
||
],
|
||
"operator": "AND"
|
||
}
|
||
],
|
||
"credits": [
|
||
{
|
||
"lang": "en",
|
||
"type": "finder",
|
||
"value": "Paul Guyot"
|
||
},
|
||
{
|
||
"lang": "en",
|
||
"type": "finder",
|
||
"value": "Lukas Backström"
|
||
},
|
||
{
|
||
"lang": "en",
|
||
"type": "remediation developer",
|
||
"value": "John Högberg"
|
||
}
|
||
],
|
||
"datePublic": "2026-07-27T15:39:03.000Z",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"supportingMedia": [
|
||
{
|
||
"base64": false,
|
||
"type": "text/html",
|
||
"value": "<p>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 <code>erts/emulator/beam/external.c</code>, <code>emulator/beam/external.c</code>.</p>\n<p>The <code>BIT_BINARY_EXT</code> 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 <code>Cannot allocate 2305843009213693951 bytes of memory (of type \"binary\")</code>.</p>\n<p>The crash is a VM-level abort, not an Erlang-level exception. It cannot be intercepted by supervision trees, by <code>try</code>/<code>catch</code>, or by passing the <code>[safe]</code> option to <code>binary_to_term/2</code> (which only restricts atom creation and does not perform structural validation of binary encodings).</p>\n<p>Any application that decodes ETF from untrusted sources via <code>binary_to_term/1,2</code> or <code>enif_binary_to_term()</code> 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).</p>\n<p>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.</p>"
|
||
},
|
||
{
|
||
"base64": false,
|
||
"type": "text/markdown",
|
||
"value": "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`.\n\nThe `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\")`.\n\nThe 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).\n\nAny 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).\n\nThis 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."
|
||
}
|
||
],
|
||
"value": "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.\n\nThe 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\").\n\nThe 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).\n\nAny 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).\n\nThis 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."
|
||
}
|
||
],
|
||
"impacts": [
|
||
{
|
||
"capecId": "CAPEC-92",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"value": "CAPEC-92 Forced Integer Overflow"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"capecId": "CAPEC-130",
|
||
"descriptions": [
|
||
{
|
||
"lang": "en",
|
||
"value": "CAPEC-130 Excessive Allocation"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"metrics": [
|
||
{
|
||
"cvssV4_0": {
|
||
"Automatable": "NOT_DEFINED",
|
||
"Recovery": "NOT_DEFINED",
|
||
"Safety": "NOT_DEFINED",
|
||
"attackComplexity": "LOW",
|
||
"attackRequirements": "PRESENT",
|
||
"attackVector": "NETWORK",
|
||
"baseScore": 8.2,
|
||
"baseSeverity": "HIGH",
|
||
"privilegesRequired": "NONE",
|
||
"providerUrgency": "NOT_DEFINED",
|
||
"subAvailabilityImpact": "NONE",
|
||
"subConfidentialityImpact": "NONE",
|
||
"subIntegrityImpact": "NONE",
|
||
"userInteraction": "NONE",
|
||
"valueDensity": "NOT_DEFINED",
|
||
"vectorString": "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",
|
||
"version": "4.0",
|
||
"vulnAvailabilityImpact": "HIGH",
|
||
"vulnConfidentialityImpact": "NONE",
|
||
"vulnIntegrityImpact": "NONE",
|
||
"vulnerabilityResponseEffort": "NOT_DEFINED"
|
||
},
|
||
"format": "CVSS",
|
||
"scenarios": [
|
||
{
|
||
"lang": "en",
|
||
"value": "GENERAL"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"problemTypes": [
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"cweId": "CWE-191",
|
||
"description": "CWE-191 Integer Underflow (Wrap or Wraparound)",
|
||
"lang": "en",
|
||
"type": "CWE"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"cweId": "CWE-789",
|
||
"description": "CWE-789 Memory Allocation with Excessive Size Value",
|
||
"lang": "en",
|
||
"type": "CWE"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"descriptions": [
|
||
{
|
||
"cweId": "CWE-1284",
|
||
"description": "CWE-1284 Improper Validation of Specified Quantity in Input",
|
||
"lang": "en",
|
||
"type": "CWE"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"providerMetadata": {
|
||
"orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
|
||
"shortName": "EEF",
|
||
"dateUpdated": "2026-11-11T18:47:44.385Z"
|
||
},
|
||
"references": [
|
||
{
|
||
"name": "binary_to_term crash on crafted BIT_BINARY_EXT input",
|
||
"tags": [
|
||
"vendor-advisory",
|
||
"related"
|
||
],
|
||
"url": "https://github.com/erlang/otp/security/advisories/GHSA-54pw-5645-jh86"
|
||
},
|
||
{
|
||
"name": "EEF CNA record for CVE-2026-54890",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://cna.erlef.org/cves/CVE-2026-54890.html"
|
||
},
|
||
{
|
||
"name": "OSV record EEF-CVE-2026-54890",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://osv.dev/vulnerability/EEF-CVE-2026-54890"
|
||
},
|
||
{
|
||
"name": "Erlang/OTP version ordering",
|
||
"tags": [
|
||
"x_version-scheme"
|
||
],
|
||
"url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
|
||
},
|
||
{
|
||
"name": "Introducing commit 24ef4cb in erlang/otp",
|
||
"tags": [
|
||
"related"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/24ef4cbaeda9b9c26682cba75f2f15b0c58722aa"
|
||
},
|
||
{
|
||
"name": "Fix commit dc1bf93 in erlang/otp",
|
||
"tags": [
|
||
"patch"
|
||
],
|
||
"url": "https://github.com/erlang/otp/commit/dc1bf9344c0ce62717cf60866590cea0242780fd"
|
||
}
|
||
],
|
||
"source": {
|
||
"discovery": "EXTERNAL"
|
||
},
|
||
"title": "BEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decoding",
|
||
"workarounds": [
|
||
{
|
||
"lang": "en",
|
||
"supportingMedia": [
|
||
{
|
||
"base64": false,
|
||
"type": "text/html",
|
||
"value": "<p>Do not call <code>binary_to_term/1,2</code> or <code>enif_binary_to_term()</code> on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted input and using an alternative serialization format (for example JSON or Protocol Buffers) instead.</p>"
|
||
},
|
||
{
|
||
"base64": false,
|
||
"type": "text/markdown",
|
||
"value": "Do not call `binary_to_term/1,2` or `enif_binary_to_term()` on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted input and using an alternative serialization format (for example JSON or Protocol Buffers) instead."
|
||
}
|
||
],
|
||
"value": "Do not call binary_to_term/1,2 or enif_binary_to_term() on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted input and using an alternative serialization format (for example JSON or Protocol Buffers) instead."
|
||
}
|
||
]
|
||
},
|
||
"adp": [
|
||
{
|
||
"metrics": [
|
||
{
|
||
"other": {
|
||
"type": "ssvc",
|
||
"content": {
|
||
"timestamp": "2026-07-27T18:18:57.223218Z",
|
||
"id": "CVE-2026-54890",
|
||
"options": [
|
||
{
|
||
"Exploitation": "none"
|
||
},
|
||
{
|
||
"Automatable": "no"
|
||
},
|
||
{
|
||
"Technical Impact": "partial"
|
||
}
|
||
],
|
||
"role": "CISA Coordinator",
|
||
"version": "2.0.3"
|
||
}
|
||
}
|
||
}
|
||
],
|
||
"title": "CISA ADP Vulnrichment",
|
||
"providerMetadata": {
|
||
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
|
||
"shortName": "CISA-ADP",
|
||
"dateUpdated": "2026-07-27T18:19:08.876Z"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
} |