Vulnerabilityin Erlang OTP.
No public exploit found; not on exploited lists.
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.
- Upgrade OTP to 15.2.7.11, 27.3.4.15 or later, whichever matches your release line.
- Can't upgrade today? 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.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 16 Jun 2026CVE ID reserved by EEF.
- 27 Jul 2026Published in the CVE List.
- 20 Nov 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other OTP vulnerabilities
Same weakness: Integer underflow
- github.com vendor-advisory, related
- cna.erlef.org related
- osv.dev related
- www.erlang.org x_version-scheme
- github.com related
- github.com patch
Patchminder. CVE-2026-54890: Vulnerability in Erlang OTP. https://patchminder.com/cve/cve-2026-54890/ (accessed 5 December 2026).