CVEMETERBack to radar
OFFICIAL RECORD · Erlang/Elixir

CVE-2026-54890

PUBLISHEDOfficial status check: verifiedCVSS 4.0: 8.2 · high

BEAM VM crash via integer underflow in binary_to_term BIT_BINARY_EXT decoding

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 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 15.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.

Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.

Severity and exploitation evidence

EPSS: 0.451% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.

CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:25:55.090Z. Public exploit availability is not used to set this status.

CVSS 4.0 · 8.2 · published by 6b3ad84c-e1a6-4bf7-a703-f496b71e49db
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 4.0 · 8.2 · published by EEF
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:58:50.240Z

CVSS 4.0 · 8.2 · published by Ubuntu Security
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Assessment source · checked 2026-11-19T12:50:12.361Z

CVSS 3.1 · 7.5 · published by [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:41:35.955Z

CVSS 3.1 · 7.5 · published by Ubuntu Security
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Assessment source · checked 2026-11-19T12:50:12.361Z

Verification by field

FieldStatusChecked at (UTC)Source
kevverified2026-11-19T16:25:55.090ZCISA KEV
cvssverified2026-11-19T12:41:35.955ZNVD
epssverified2026-11-19T16:04:52.292ZFIRST EPSS
patchesverified2026-11-19T12:50:12.361ZUbuntu Security
affectedverified2026-11-19T12:58:50.240ZCVE Program
lifecycleverified2026-11-19T12:58:50.240ZCVE Program

Affected versions and configuration

Erlang OTP; modules: erts; default status: unaffected: 27.0 to < * [affected; scheme: otp]; changes: [{"at":"27.3.4.15","status":"unaffected"},{"at":"28.5.0.4","status":"unaffected"},{"at":"29.0.4","status":"unaffected"}] Erlang OTP; modules: erts; default status: unaffected: 15.0 to < * [affected; scheme: otp]; changes: [{"at":"15.2.7.11","status":"unaffected"},{"at":"16.4.0.4","status":"unaffected"},{"at":"17.0.4","status":"unaffected"}] Erlang OTP; modules: erts; default status: unaffected: 24ef4cbaeda9b9c26682cba75f2f15b0c58722aa to < dc1bf9344c0ce62717cf60866590cea0242780fd [affected; scheme: git]

Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.

CVE Program · cve-json · full conditions
{
  "affected": [
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "vendor": "Erlang",
      "modules": [
        "erts"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "27.3.4.15",
              "status": "unaffected"
            },
            {
              "at": "28.5.0.4",
              "status": "unaffected"
            },
            {
              "at": "29.0.4",
              "status": "unaffected"
            }
          ],
          "version": "27.0",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:software-id/erlang.org/otp",
      "packageName": "otp",
      "programFiles": [
        "erts/emulator/beam/external.c"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "erlang:binary_to_term/1"
        },
        {
          "name": "erlang:binary_to_term/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "erts"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "changes": [
            {
              "at": "15.2.7.11",
              "status": "unaffected"
            },
            {
              "at": "16.4.0.4",
              "status": "unaffected"
            },
            {
              "at": "17.0.4",
              "status": "unaffected"
            }
          ],
          "version": "15.0",
          "lessThan": "*",
          "versionType": "otp"
        }
      ],
      "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
      "packageName": "erts",
      "programFiles": [
        "emulator/beam/external.c"
      ],
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "erlang:binary_to_term/1"
        },
        {
          "name": "erlang:binary_to_term/2"
        }
      ]
    },
    {
      "cpes": [
        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
      ],
      "repo": "https://github.com/erlang/otp",
      "vendor": "Erlang",
      "modules": [
        "erts"
      ],
      "product": "OTP",
      "versions": [
        {
          "status": "affected",
          "version": "24ef4cbaeda9b9c26682cba75f2f15b0c58722aa",
          "lessThan": "dc1bf9344c0ce62717cf60866590cea0242780fd",
          "versionType": "git"
        }
      ],
      "packageURL": "pkg:github/erlang/otp",
      "packageName": "erlang/otp",
      "programFiles": [
        "erts/emulator/beam/external.c"
      ],
      "collectionURL": "https://github.com",
      "defaultStatus": "unaffected",
      "programRoutines": [
        {
          "name": "erlang:binary_to_term/1"
        },
        {
          "name": "erlang:binary_to_term/2"
        }
      ]
    }
  ],
  "additionalContainers": [
    {
      "title": "CISA ADP Vulnrichment",
      "metrics": [
        {
          "other": {
            "type": "ssvc",
            "content": {
              "id": "CVE-2026-54890",
              "role": "CISA Coordinator",
              "options": [
                {
                  "Exploitation": "none"
                },
                {
                  "Automatable": "no"
                },
                {
                  "Technical Impact": "partial"
                }
              ],
              "version": "2.0.3",
              "timestamp": "2026-07-27T18:18:57.223218Z"
            }
          }
        }
      ],
      "providerMetadata": {
        "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "shortName": "CISA-ADP",
        "dateUpdated": "2026-07-27T18:19:08.876Z"
      }
    }
  ]
}
Archived source JSON
Ubuntu Security · ubuntu-package · full conditions
[
  {
    "name": "erlang",
    "debian": "https://tracker.debian.org/pkg/erlang",
    "source": "https://ubuntu.com/security/cve?package=erlang",
    "ubuntu": "https://packages.ubuntu.com/search?suite=all&section=all&arch=any&searchon=sourcenames&keywords=erlang",
    "statuses": [
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "bionic"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "focal"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "jammy"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "noble"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "trusty"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:29.0.6+dfsg-1",
        "release_codename": "upstream"
      },
      {
        "pocket": "security",
        "status": "not-affected",
        "component": null,
        "description": "vulnerable code not present",
        "release_codename": "xenial"
      },
      {
        "pocket": "security",
        "status": "released",
        "component": null,
        "description": "1:27.3.4.6+dfsg-1ubuntu0.1",
        "release_codename": "resolute"
      }
    ]
  }
]
Archived source JSON
NVD · nvd-cpe · full conditions
[
  {
    "nodes": [
      {
        "negate": false,
        "cpeMatch": [
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E7740717-E30D-4D4B-8226-037788AA2440",
            "versionEndExcluding": "27.3.4.15",
            "versionStartIncluding": "27.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "E5A403B9-F8C0-42F9-9CDD-AE95FBBA58BC",
            "versionEndExcluding": "28.5.0.4",
            "versionStartIncluding": "28.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "4325E198-43FA-4DD1-99A5-66705CF21615",
            "versionEndExcluding": "29.0.4",
            "versionStartIncluding": "29.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "11B1C890-908F-4DA6-BA70-903488089424",
            "versionEndExcluding": "15.2.7.11",
            "versionStartIncluding": "15.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "31D9076A-4078-4597-A518-12B6E55007B8",
            "versionEndExcluding": "16.4.0.4",
            "versionStartIncluding": "16.0"
          },
          {
            "criteria": "cpe:2.3:a:erlang:erts:*:*:*:*:*:*:*:*",
            "vulnerable": true,
            "matchCriteriaId": "7EC53F68-5A92-4EF5-8789-1905C50D85BF",
            "versionEndExcluding": "17.0.4",
            "versionStartIncluding": "17.0"
          }
        ],
        "operator": "OR"
      }
    ]
  }
]
Archived source JSON

Correction evidence

Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.

Evidence typeDistribution / releasePackageChannelVersion or source noteSource
upstream-noteupstream / upstreamerlangNot a distribution channel1:29.0.6+dfsg-1Official record
distribution-packageUbuntu / resoluteerlangsecurity1:27.3.4.6+dfsg-1ubuntu0.1Official record

Vendor notices and operational guidance

No connected vendor notice is available for this record.

Original sources and dates

Official status history