{"id":"CVE-2026-120961","aliases":[],"cve":{"records":[{"id":"CVE-2026-120961","source":"EEF","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-11-10T11:01:31.673Z","published":"2026-11-24T15:10:40.813Z","modified":"2026-11-24T15:10:40.813Z"}],"publishers":[{"name":"EEF","role":"CNA","organizationId":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","modified":"2026-11-24T15:10:40.813Z"}],"references":[{"url":"https://github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4","tags":["vendor-advisory","related"],"source":"EEF"},{"url":"https://cna.erlef.org/cves/CVE-2026-120961.html","tags":["related"],"source":"EEF"},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-120961","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/4b954b8aa0f601a0d8d45f0953c77585afb6f853","tags":["patch"],"source":"EEF"}],"weaknesses":[{"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 FLOAT_EXT Without Terminating Zero Byte May Abort the VM","titleSource":"EEF","descriptionSource":"EEF","description":"Out-of-bounds Read 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 read memory after the input, and to change one byte there, via a FLOAT_EXT term without a terminating zero byte. decoded_size in erts/emulator/beam/external.c checks only that the 31 bytes of the FLOAT_EXT field are present. dec_term then passes the field to sys_chars_to_double, which scans to a NUL byte without a length limit. When the field has no NUL, the scan continues into the bytes after the field, and those bytes change the decoded float. When the radix character is found after the field and strtod does not accept it, sys_chars_to_double overwrites that byte (a , becomes a .). The VM can fault if the scan reaches an unmapped page.\n\nThe safe option does not prevent this. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. The write is limited to the one radix byte. No arbitrary write or code execution was shown.\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":6.9,"severity":"medium","published":"2026-11-24T15:10:40.813Z","modified":"2026-11-24T15:10:40.813Z","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-120961"},{"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-120961"},{"vendor":"Erlang","name":"OTP","platforms":[],"versions":[{"version":"84adefa331c4159d432d22840663c38f155cd4c1","status":"affected","lessThan":"4b954b8aa0f601a0d8d45f0953c77585afb6f853","versionType":"git"},{"version":"4b954b8aa0f601a0d8d45f0953c77585afb6f853","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-120961"}],"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 issue. It only restricts atom creation, not structural validation of binary encodings.","source":"EEF","url":"https://www.cve.org/CVERecord?id=CVE-2026-120961"}],"references":["https://github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4","https://cna.erlef.org/cves/CVE-2026-120961.html","https://osv.dev/vulnerability/EEF-CVE-2026-120961","https://www.erlang.org/doc/system/versions.html#order-of-versions","https://github.com/erlang/otp/commit/4b954b8aa0f601a0d8d45f0953c77585afb6f853"],"sources":[{"name":"CVE","id":"CVE-2026-120961","modified":"2026-11-24T15:10:40.813Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-120961"}],"assessments":[{"source":"EEF","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":6.9}],"sourceAffected":[],"observedAt":"2026-11-24T15:26:24.334Z","kev":{"status":"not-listed","checkedAt":"2026-11-28T23:15:32.077Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-11-24T15:30:33.515Z","attemptedAt":"2026-11-24T15:30:33.515Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-11-24T15:30:32.824Z","attemptedAt":"2026-11-24T15:30:32.824Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-11-24T15:30:32.826Z","attemptedAt":"2026-11-24T15:30:32.826Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-11-24T15:30:32.829Z","attemptedAt":"2026-11-24T15:30:32.829Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-120961","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120961","modified":"2026-11-24T15:17:14.827","score":6.9,"vector":"CVSS:4.0/AV:L/AC:L/AT:N/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","checkedAt":"2026-11-24T15:30:33.515Z"}],"aiSummary":{"text":"Erlang OTP erts versions 6.0 to 15.2.7.14, 16.4.0.7, and 17.1.1 have an out-of-bounds read vulnerability in the external term format decoder, allowing an attacker controlling input to binary_to_term/1,2 to read memory and change one byte. The issue affects OTP from 17.0 before 27.3.4.20, 28.5.0.9, and 29.1.3.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-11-24T15:36:04.044Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-120961"}]}}