Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer… (CVE-2026-54890)
An integer underflow vulnerability exists in the Erlang OTP erts modules affecting versions from OTP 27.0 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15. This flaw occurs in the External Term Format (ETF) decoder when handling the BIT_BINARY_EXT tag, allowing a crafted input to cause an unsigned integer underflow. This results in an excessively large memory allocation request that causes the Erlang VM to abort. The crash is at the VM level and cannot be caught or mitigated by Erlang-level exception handling. Applications decoding ETF from untrusted sources using binary_to_term/1,2 or enif_binary_to_term() are vulnerable. The Erlang distribution protocol is also affected but is expected to run on trusted networks. The CVSS score is 7.5 (medium severity).
AI Analysis
Technical Summary
The vulnerability is an integer underflow in the BIT_BINARY_EXT tag handler of the External Term Format decoder in Erlang OTP erts modules. When both length and trailing-bits fields are zero, the bitstring size calculation underflows an unsigned integer, producing a very large size (~2^64). This size is passed to the memory allocator, which aborts the Erlang VM with a memory allocation error. The abort is a VM-level crash, not an Erlang exception, and cannot be intercepted by supervision trees or try/catch blocks. Any application decoding ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also uses this code path but is intended for trusted networks. Affected OTP versions include OTP 27.0 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15, corresponding to erts versions 15.0 before 17.0.4, 16.4.0.4, and 15.2.7.11.
Potential Impact
Exploitation causes the Erlang VM to abort due to a forced integer underflow leading to an excessive memory allocation request. This results in a denial of service (DoS) at the VM level. The crash cannot be caught or handled by Erlang-level mechanisms, making recovery without restarting the node impossible. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, avoid decoding External Term Format (ETF) data from untrusted sources using binary_to_term/1,2 or enif_binary_to_term(). The Erlang distribution protocol is expected to run only on trusted networks, which mitigates risk in typical deployments. No Erlang-level exception handling or safe options prevent this crash.
Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer… (CVE-2026-54890)
Description
An integer underflow vulnerability exists in the Erlang OTP erts modules affecting versions from OTP 27.0 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15. This flaw occurs in the External Term Format (ETF) decoder when handling the BIT_BINARY_EXT tag, allowing a crafted input to cause an unsigned integer underflow. This results in an excessively large memory allocation request that causes the Erlang VM to abort. The crash is at the VM level and cannot be caught or mitigated by Erlang-level exception handling. Applications decoding ETF from untrusted sources using binary_to_term/1,2 or enif_binary_to_term() are vulnerable. The Erlang distribution protocol is also affected but is expected to run on trusted networks. The CVSS score is 7.5 (medium severity).
CVSS v3.1
Score 7.5high
Affected software
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/trustypkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/xenialpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionicpkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focalpkg:deb/ubuntu/erlang?arch=source&distro=jammypkg:deb/ubuntu/erlang?arch=source&distro=noblepkg:deb/ubuntu/erlang?arch=source&distro=resoluteRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability is an integer underflow in the BIT_BINARY_EXT tag handler of the External Term Format decoder in Erlang OTP erts modules. When both length and trailing-bits fields are zero, the bitstring size calculation underflows an unsigned integer, producing a very large size (~2^64). This size is passed to the memory allocator, which aborts the Erlang VM with a memory allocation error. The abort is a VM-level crash, not an Erlang exception, and cannot be intercepted by supervision trees or try/catch blocks. Any application decoding ETF from untrusted sources via binary_to_term/1,2 or enif_binary_to_term() is exposed. The Erlang distribution protocol also uses this code path but is intended for trusted networks. Affected OTP versions include OTP 27.0 before OTP 29.0.4, OTP 28.5.0.4, and OTP 27.3.4.15, corresponding to erts versions 15.0 before 17.0.4, 16.4.0.4, and 15.2.7.11.
Potential Impact
Exploitation causes the Erlang VM to abort due to a forced integer underflow leading to an excessive memory allocation request. This results in a denial of service (DoS) at the VM level. The crash cannot be caught or handled by Erlang-level mechanisms, making recovery without restarting the node impossible. There is no impact on confidentiality or integrity reported.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is applied, avoid decoding External Term Format (ETF) data from untrusted sources using binary_to_term/1,2 or enif_binary_to_term(). The Erlang distribution protocol is expected to run only on trusted networks, which mitigates risk in typical deployments. No Erlang-level exception handling or safe options prevent this crash.
Technical Details
- Gcve Source
- db.gcve.eu
- Osv Id
- UBUNTU-CVE-2026-54890
- Osv Schema Version
- 1.7.0
- Aliases
- []
- Ecosystems
- ["Ubuntu:Pro:14.04:LTS","Ubuntu:Pro:16.04:LTS","Ubuntu:Pro:18.04:LTS","Ubuntu:Pro:20.04:LTS","Ubuntu:22.04:LTS","Ubuntu:24.04:LTS","Ubuntu:26.04:LTS"]
- Database Specific Severity
- null
- Cvss Version
- 3.1
Threat ID: 6a7c9b68bf8831d539cdf610
Added to database: 08/12/2026, 16:12:24 UTC
Last enriched: 08/12/2026, 17:17:24 UTC
Last updated: 08/13/2026, 00:41:13 UTC
Views: 2
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.