erlang: Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts m...
CVE-2026-54890 is fixed in 37 products on 1 platform, first by DEBIAN-CVE-2026-54890, released August 4, 2026. It is not reported as exploited. Patch Radar priority: High.
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. 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). Any 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). This issue affects OTP from OTP 27.0 before OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to erts from 15.0 before 17.0.4, 16.4.0.4 and 15.2.7.11.
Where it's fixed
| Product | Fixed in | Fix | Released |
|---|---|---|---|
| Linux | |||
| erlang · Debian 13.5 (trixie) | 1:27.3.4.1+dfsg-1+deb13u3 | DEBIAN-CVE-2026-54890 | Aug 4, 2026 |
| erlang · Debian 14 | 1:29.0.4+dfsg-1 | DEBIAN-CVE-2026-54890 | Aug 4, 2026 |
| erlang · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-asn1 · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-asn1 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-base · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-base 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-common-test · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-common-test 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-crypto · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-crypto 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-debugger · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-debugger 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-dialyzer · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-dialyzer 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-diameter · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-diameter 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-edoc · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-edoc 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-eldap · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-eldap 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-et · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-et 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-eunit · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-eunit 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-examples · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-examples 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-ftp · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-ftp 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-inets · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-inets 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-jinterface · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-jinterface 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-megaco · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-megaco 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-mnesia · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-mnesia 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-mode · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-mode 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-nox · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-nox 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-observer · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-observer 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-odbc · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-odbc 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-os-mon · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-os-mon 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-parsetools · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-parsetools 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-public-key · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-public-key 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-reltool · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-reltool 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-runtime-tools · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-runtime-tools 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-snmp · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-snmp 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-src · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-src 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-ssh · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-ssh 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-ssl · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-ssl 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-syntax-tools · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-syntax-tools 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-tftp · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-tftp 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-tools · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-tools 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-wx · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-wx 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-x11 · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-x11 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
| erlang-xmerl · Ubuntu 26.04.1 LTS (resolute) | 1:27.3.4.6+dfsg-1ubuntu0.1 | erlang-xmerl 1:27.3.4.6+dfsg-1ubuntu0.1 | Sep 1, 2026 |
Patch Radar data is free to use with attribution. Terms and how to credit it.
Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.