Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.4%top 69%

Integer Underflow (Wrap or Wraparound) vulnerability in erlang otp erlang/otp (erts modules), erlang otp erts (erts modules) allows Forced Integer… (CVE-2026-54890)

0
Medium
Published: 07/27/2026 (07/27/2026, 16:17:00 UTC)
Source: GCVE Database
Product: erlang

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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

Ubuntu:Pro:14.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra-legacy/trusty
Affected versions
=1:16.b.1-dfsg-4ubuntu1=1:16.b.2-dfsg-1ubuntu1=1:16.b.2-dfsg-2ubuntu1=1:16.b.3-dfsg-1ubuntu1=1:16.b.3-dfsg-1ubuntu2=1:16.b.3-dfsg-1ubuntu2.1=1:16.b.3-dfsg-1ubuntu2.2=1:16.b.3-dfsg-1ubuntu2.2+esm1
Ubuntu:Pro:16.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/xenial
Affected versions
=1:18.0-dfsg-1ubuntu1=1:18.0-dfsg-1ubuntu2=1:18.2-dfsg-2ubuntu1=1:18.3-dfsg-1ubuntu1=1:18.3-dfsg-1ubuntu2=1:18.3-dfsg-1ubuntu3=1:18.3-dfsg-1ubuntu3.1=1:18.3-dfsg-1ubuntu3.1+esm1=1:18.3-dfsg-1ubuntu3.1+esm2
Ubuntu:Pro:18.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/bionic
Affected versions
=1:20.0.4+dfsg-1ubuntu1=1:20.1.2+dfsg-1ubuntu1=1:20.1.3+dfsg-1ubuntu1=1:20.1.4+dfsg-1ubuntu1=1:20.1.5+dfsg-1ubuntu1=1:20.1.6+dfsg-1ubuntu1=1:20.1.7+dfsg-1ubuntu1=1:20.2.1+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu1=1:20.2.2+dfsg-1ubuntu2=1:20.2.2+dfsg-1ubuntu2+esm1=1:20.2.2+dfsg-1ubuntu2+esm2
Ubuntu:Pro:20.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=esm-infra/focal
Affected versions
=1:22.0.7+dfsg-1build1=1:22.2+dfsg-1=1:22.2.1+dfsg-1=1:22.2.2+dfsg-1=1:22.2.3+dfsg-1=1:22.2.3+dfsg-2=1:22.2.4+dfsg-1=1:22.2.7+dfsg-1=1:22.2.7+dfsg-1ubuntu0.2=1:22.2.7+dfsg-1ubuntu0.3=1:22.2.7+dfsg-1ubuntu0.4=1:22.2.7+dfsg-1ubuntu0.5=1:22.2.7+dfsg-1ubuntu0.5+esm1
Ubuntu:22.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=jammy
Affected versions
=1:23.2.6+dfsg-1build1=1:24.1.1+dfsg-1=1:24.1.4+dfsg-1=1:24.1.5+dfsg-1=1:24.1.5+dfsg-1ubuntu1=1:24.2+dfsg-1=1:24.2.1+dfsg-1=1:24.2.1+dfsg-1ubuntu0.1=1:24.2.1+dfsg-1ubuntu0.2=1:24.2.1+dfsg-1ubuntu0.3=1:24.2.1+dfsg-1ubuntu0.4=1:24.2.1+dfsg-1ubuntu0.5=1:24.2.1+dfsg-1ubuntu0.6
Ubuntu:24.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=noble
Affected versions
=1:25.2.3+dfsg-1=1:25.3.2.8+dfsg-1=1:25.3.2.8+dfsg-1ubuntu1=1:25.3.2.8+dfsg-1ubuntu3=1:25.3.2.8+dfsg-1ubuntu4=1:25.3.2.8+dfsg-1ubuntu4.1=1:25.3.2.8+dfsg-1ubuntu4.2=1:25.3.2.8+dfsg-1ubuntu4.3=1:25.3.2.8+dfsg-1ubuntu4.4=1:25.3.2.8+dfsg-1ubuntu4.5=1:25.3.2.8+dfsg-1ubuntu4.6
Ubuntu:26.04:LTSmore threats →ghsa
erlang
pkg:deb/ubuntu/erlang?arch=source&distro=resolute
Affected versions
=1:27.3.4.1+dfsg-1build1=1:27.3.4.3+dfsg-1=1:27.3.4.4+dfsg-1=1:27.3.4.6+dfsg-1

Run 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

AILast updated: 08/12/2026, 17:17:24 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses