{"id":"CVE-2026-116293","aliases":[],"cve":{"records":[{"id":"CVE-2026-116293","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-10-26T09:45:01.452Z","published":"2026-11-24T15:08:20.708Z","modified":"2026-11-24T15:08:20.708Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-24T15:08:20.708Z"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-6qhv-446c-985v","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-116293.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-116293","tags":["related"],"source":"EEF"},{"url":"https://www.erlang.org/doc/system/versions.html#order-of-versions","tags":["x_version-scheme"],"source":"EEF"},{"url":"https://github.com/erlang/otp/commit/e5a9d3d141b8b5609803c3b78c8b420cd294ca82","tags":["patch"],"source":"EEF"}],"weaknesses":[{"id":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","source":"EEF"},{"id":"CWE-787","description":"CWE-787 Out-of-bounds Write","source":"EEF"},{"id":"CWE-125","description":"CWE-125 Out-of-bounds Read","source":"EEF"}],"applicability":[{"source":"EEF","statements":[{"nodes":[{"cpeMatch":[{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"27.3.4.20","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"28.5.0.9","versionStartIncluding":"28.0","vulnerable":true},{"criteria":"cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*","versionEndExcluding":"29.1.3","versionStartIncluding":"29.0","vulnerable":true}],"negate":false,"operator":"OR"}],"operator":"AND"}]}],"prioritization":[]},"title":"binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM","titleSource":"EEF","descriptionSource":"EEF","description":"Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.\n\nThe abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.\n\nThis issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.","score":7,"severity":"high","published":"2026-11-24T15:08:20.708Z","modified":"2026-11-24T15:08:20.708Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Erlang","name":"OTP","platforms":[],"versions":[{"version":"6.0","status":"affected","lessThan":"*","versionType":"otp","changes":[{"at":"15.2.7.15","status":"unaffected"},{"at":"16.4.0.8","status":"unaffected"},{"at":"17.1.2","status":"unaffected"}]}],"defaultStatus":"unknown","packageURL":"pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"},{"vendor":"Erlang","name":"OTP","platforms":[],"versions":[{"version":"17.0","status":"affected","lessThan":"*","versionType":"otp","changes":[{"at":"27.3.4.20","status":"unaffected"},{"at":"28.5.0.9","status":"unaffected"},{"at":"29.1.3","status":"unaffected"}]}],"defaultStatus":"unknown","packageURL":"pkg:software-id/erlang.org/otp","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"},{"vendor":"Erlang","name":"OTP","platforms":[],"versions":[{"version":"84adefa331c4159d432d22840663c38f155cd4c1","status":"affected","lessThan":"e5a9d3d141b8b5609803c3b78c8b420cd294ca82","versionType":"git"},{"version":"e5a9d3d141b8b5609803c3b78c8b420cd294ca82","status":"unaffected","lessThan":"*","versionType":"git"}],"defaultStatus":"unknown","packageURL":"pkg:github/erlang/otp","cpes":["cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"],"source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"}],"remediation":[{"text":"* Do not call binary_to_term/1,2 on data from untrusted sources. The OTP Secure Coding Guidelines (DSG-011) recommend avoiding these functions altogether on untrusted data.\n* If distribution is exposed to untrusted networks, configure it to use TLS with client certificate verification.\n* Use alternative serialization formats (JSON, Protocol Buffers) for untrusted external input. Note: the [safe] option to binary_to_term/2 does NOT protect against this crash. It only restricts atom creation, not structural validation of binary encodings.","source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"}],"references":["https://github.com/erlang/otp/security/advisories/GHSA-6qhv-446c-985v","https://cna.erlef.org/cves/CVE-2026-116293.html","https://osv.dev/vulnerability/EEF-CVE-2026-116293","https://www.erlang.org/doc/system/versions.html#order-of-versions","https://github.com/erlang/otp/commit/e5a9d3d141b8b5609803c3b78c8b420cd294ca82"],"sources":[{"name":"CVE","id":"CVE-2026-116293","modified":"2026-11-24T15:08:20.708Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:H/SC:N/SI:N/SA:N","score":7}],"sourceAffected":[],"observedAt":"2026-11-24T15:26:16.888Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T20:55:32.118Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-24T15:40:34.076Z","attemptedAt":"2026-11-24T15:40:34.076Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-24T15:40:35.905Z","attemptedAt":"2026-11-24T15:40:35.905Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-24T15:40:35.904Z","attemptedAt":"2026-11-24T15:40:35.904Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-24T15:40:33.893Z","attemptedAt":"2026-11-24T15:40:33.893Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-116293","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116293","modified":"2026-11-24T15:17:12.070","score":7,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:L/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","checkedAt":"2026-11-24T15:40:34.076Z"}],"aiSummary":{"text":"Erlang OTP erts has an out-of-bounds write vulnerability via NEWER_REFERENCE_EXT with zero ID words, allowing an attacker controlling input to binary_to_term/1,2 to abort the Erlang VM. This affects OTP from 17.0 before 27.3.4.20, 28.5.0.9, and 29.1.3. Whether OTP before 17.0 is affected is unknown.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-24T15:36:06.713Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-116293"}]}}