CVE-2026-120961
CVE-2026-120961 — binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM
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. The 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. This 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.
Published Updated Sources: NVD, Erlang (CNA), GitHub
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Unreported
no source claims exploitation
EPSS
n/a
FIRST has not published a score
CVSS base
6.9
medium
Remediation
The vendor's own words where we have them.
Upgrade OTP to a fixed release (4b954b8aa0f601a0d8d45f0953c77585afb6f853). Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Erlang | OTP | 6.0 | Vulnerable |
| Erlang | OTP | 17.0 | Vulnerable |
| Erlang | OTP | 84adefa331c4159d432d22840663c38f155cd4c1 to < 4b954b8aa0f601a0d8d45f0953c77585afb6f853 | Vulnerable |
| Erlang | OTP | 4b954b8aa0f601a0d8d45f0953c77585afb6f853 | Patched |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Attack Complexity
Low
Attack Vector
Local
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 6.9 | CVSS 4.0 | medium | n/a | n/a | Erlang (CNA) |
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
Weakness & attack patterns
- CWE-125Out-of-bounds Read
Inferred from the weakness class — not observed against this CVE.
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Search application, proxy, and WAF logs for requests touching /1,2, /emulator/beam/external.c.
Timeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 6.9 (AV:L)
Nov 24, 2026 · NVD
Initial · CVE published
Nov 24, 2026 · NVD
References
5 on the record
- cna.erlef.org/cves/CVE-2026-120961.html
Vendor Advisory
- github.com/erlang/otp/commit/4b954b8aa0f601a0d8d45f0953c77585afb6f853
Exploit, Third Party Advisory
- github.com/erlang/otp/security/advisories/GHSA-r7pf-rpq8-5pf4
Exploit, Third Party Advisory
- osv.dev/vulnerability/EEF-CVE-2026-120961
Vendor Advisory
- www.erlang.org/doc/system/versions.html#order-of-versions
Vendor Advisory
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-3055 Insufficient input validation leading to memory overreadCVSS 9.8 · CISA KEV
- CVE-2026-11645 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2025-5419 Google Chromium V8 Out-of-Bounds Read and Write VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2024-0519 Google Chromium V8 Out-of-Bounds Memory Access VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2017-5030 Google Chromium V8 Memory Corruption VulnerabilityCVSS 8.8 · CISA KEV
- CVE-2016-1646 Google Chromium V8 Out-of-Bounds Read VulnerabilityCVSS 8.8 · CISA KEV
Elsewhere on this site
- Erlangevery CVE for this vendor
- Memory Corruptionsame class
- CWE-125other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- No confirmed IOCs, IP addresses, domains, file hashes, or malware artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2026-120961 is binary_to_term Heap Overrun via FLOAT_EXT Without Terminating Zero Byte May Abort the VM, a medium vulnerability affecting OTP from Erlang. The current evidence does not list it in CISA KEV, and the exploit status is: Active exploitation is not confirmed from current sources for CVE-2026-120961. Public exploit evidence is: A public PoC is not confirmed from current sources for CVE-2026-120961. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 6.9 describes technical severity, while EPSS 0% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.