p PatchFirst

CVE-2026-116293

CVE-2026-116293 · binary_to_term Heap Overrun via NEWER_REFERENCE_EXT with Zero ID Words Aborts the VM

CVSS 7.0 · High · EPSS 0.3% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

  • erlangUpdate to 15.2.7.15
  • erlang Debian 12No fix published
  • erlang Debian 13No fix published
  • erlang Debian 14No fix published
  • and 8 more

Check the installed version:

dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="erlang"'

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

Out-of-bounds Write vulnerability in the external term format decoder in Erlang OTP erts allows an attacker who controls the input to binary_to_term/1,2 to abort the Erlang VM via a NEWER_REFERENCE_EXT term with a zero-length ID. decoded_size in erts/emulator/beam/external.c accepts a reference whose 16-bit Len field is zero, but dec_term always reads one ID word. dec_term then runs 4 bytes ahead of the position that decoded_size validated. It decodes the bytes that follow as terms that were never sized, and writes past the reserved process heap.

The abort takes down every process on the node. Supervision, try/catch and the safe option do not prevent it. enif_binary_to_term() and the distribution protocol reach the same decoder, and distribution is assumed to run on trusted networks only. NEW_REFERENCE_EXT also accepts a zero length, but its range check on the first ID word rejects the shifted input. On 32-bit builds, a zero-length reference of either type at the end of the input, followed by trailing bytes, can write one word past the reserved heap.

This issue affects OTP from OTP 17.0 before OTP 27.3.4.20, OTP 28.5.0.9, and OTP 29.1.3, corresponding to erts from 6.0 before 15.2.7.15, 16.4.0.8, and 17.1.2. Whether OTP before OTP 17.0, corresponding to erts before 6.0, is affected is unknown.

Published
Updated

Fixes in distributions

Stack: system

Affected products and versions

  • erlang

    Versions
    • ≥ 6.0: Affected; ≥ 15.2.7.15: Not affected; ≥ 16.4.0.8: Not affected; ≥ 17.1.2: Not affected (otp)

    Update to 15.2.7.15

  • erlang

    Versions
    • ≥ 17.0: Affected; ≥ 27.3.4.20: Not affected; ≥ 28.5.0.9: Not affected; ≥ 29.1.3: Not affected (otp)

    Update to 27.3.4.20

  • erlang

    Versions
    • ≥ 84adefa331c4159d432d22840663c38f155cd4c1, < e5a9d3d141b8b5609803c3b78c8b420cd294ca82: Affected (git)
    • ≥ e5a9d3d141b8b5609803c3b78c8b420cd294ca82: Not affected (git)

    No fix published

  • erlang Debian 12

    Versions
    • 1:25.2.3+dfsg-1
    • 1:25.2.3+dfsg-1+deb12u1
    • 1:25.2.3+dfsg-1+deb12u2
    • 1:25.2.3+dfsg-1+deb12u3
    • 1:25.2.3+dfsg-1+deb12u4
    • 1:25.3.2.10+dfsg-1
    All versions (82)
    • 1:25.3.2.10+dfsg-2
    • 1:25.3.2.11+dfsg-1
    • 1:25.3.2.12+dfsg-1
    • 1:25.3.2.12+dfsg-2
    • 1:25.3.2.12+dfsg-3
    • 1:25.3.2.8+dfsg-1
    • 1:26.0+dfsg-1
    • 1:26.0.1+dfsg-1
    • 1:26.0.2+dfsg-1
    • 1:26.0~rc2+dfsg-1
    • 1:26.0~rc3+dfsg-1
    • 1:26.1.2+dfsg-1
    • 1:26.2.1+dfsg-1
    • 1:26.2.4+dfsg-1
    • 1:27.0+dfsg-1
    • 1:27.0.1+dfsg-1
    • 1:27.0.1+dfsg-2
    • 1:27.0.1+dfsg-3
    • 1:27.0~rc3+dfsg-1
    • 1:27.0~rc3+dfsg-2
    • 1:27.0~rc3+dfsg-3
    • 1:27.0~rc3+dfsg-4
    • 1:27.1.2+dfsg-1
    • 1:27.2+dfsg-1
    • 1:27.2+dfsg-2
    • 1:27.2+dfsg-3~exp1
    • 1:27.2.1+dfsg-1
    • 1:27.2.1+dfsg-2
    • 1:27.2.2+dfsg-1
    • 1:27.2.3+dfsg-1
    • 1:27.2.4+dfsg-1
    • 1:27.3+dfsg-1
    • 1:27.3.1+dfsg-1
    • 1:27.3.2+dfsg-1
    • 1:27.3.3+dfsg-1
    • 1:27.3.4+dfsg-1
    • 1:27.3.4.1+dfsg-1
    • 1:27.3.4.10+dfsg-1
    • 1:27.3.4.11+dfsg-1
    • 1:27.3.4.11+dfsg-2
    • 1:27.3.4.11+dfsg-3
    • 1:27.3.4.11+dfsg-4
    • 1:27.3.4.11+dfsg-5
    • 1:27.3.4.11+dfsg-6
    • 1:27.3.4.11+dfsg-7
    • 1:27.3.4.12+dfsg-1
    • 1:27.3.4.3+dfsg-1
    • 1:27.3.4.4+dfsg-1
    • 1:27.3.4.6+dfsg-1
    • 1:27.3.4.8+dfsg-1
    • 1:27.3.4.9+dfsg-1
    • 1:28.0+dfsg-1
    • 1:28.0.1+dfsg-1
    • 1:28.0.2+dfsg-1
    • 1:28.0.4+dfsg-1
    • 1:28.1.1+dfsg-1
    • 1:28.2+dfsg-1
    • 1:28.3+dfsg-1
    • 1:28.3.1+dfsg-1
    • 1:29.0+dfsg-1
    • 1:29.0+dfsg-2
    • 1:29.0.1+dfsg-1
    • 1:29.0.2+dfsg-1
    • 1:29.0.3+dfsg-1
    • 1:29.0.4+dfsg-1
    • 1:29.0.6+dfsg-1
    • 1:29.0~rc1+dfsg-1
    • 1:29.0~rc1+dfsg-2
    • 1:29.0~rc2+dfsg-1
    • 1:29.0~rc3+dfsg-1
    • 1:29.0~rc3+dfsg-2
    • 1:29.0~rc3+dfsg-3
    • 1:29.0~rc3+dfsg-4
    • 1:29.1.1+dfsg-1
    • 1:29.1.2+dfsg-1
    • 1:29.1.3+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Debian 13

    Versions
    • 1:27.3.4.1+dfsg-1
    • 1:27.3.4.1+dfsg-1+deb13u1
    • 1:27.3.4.1+dfsg-1+deb13u2
    • 1:27.3.4.1+dfsg-1+deb13u3
    • 1:27.3.4.1+dfsg-1+deb13u4
    • 1:27.3.4.10+dfsg-1
    All versions (44)
    • 1:27.3.4.11+dfsg-1
    • 1:27.3.4.11+dfsg-2
    • 1:27.3.4.11+dfsg-3
    • 1:27.3.4.11+dfsg-4
    • 1:27.3.4.11+dfsg-5
    • 1:27.3.4.11+dfsg-6
    • 1:27.3.4.11+dfsg-7
    • 1:27.3.4.12+dfsg-1
    • 1:27.3.4.3+dfsg-1
    • 1:27.3.4.4+dfsg-1
    • 1:27.3.4.6+dfsg-1
    • 1:27.3.4.8+dfsg-1
    • 1:27.3.4.9+dfsg-1
    • 1:28.0+dfsg-1
    • 1:28.0.1+dfsg-1
    • 1:28.0.2+dfsg-1
    • 1:28.0.4+dfsg-1
    • 1:28.1.1+dfsg-1
    • 1:28.2+dfsg-1
    • 1:28.3+dfsg-1
    • 1:28.3.1+dfsg-1
    • 1:29.0+dfsg-1
    • 1:29.0+dfsg-2
    • 1:29.0.1+dfsg-1
    • 1:29.0.2+dfsg-1
    • 1:29.0.3+dfsg-1
    • 1:29.0.4+dfsg-1
    • 1:29.0.6+dfsg-1
    • 1:29.0~rc1+dfsg-1
    • 1:29.0~rc1+dfsg-2
    • 1:29.0~rc2+dfsg-1
    • 1:29.0~rc3+dfsg-1
    • 1:29.0~rc3+dfsg-2
    • 1:29.0~rc3+dfsg-3
    • 1:29.0~rc3+dfsg-4
    • 1:29.1.1+dfsg-1
    • 1:29.1.2+dfsg-1
    • 1:29.1.3+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Debian 14

    Versions
    • 1:27.3.4.1+dfsg-1
    • 1:27.3.4.10+dfsg-1
    • 1:27.3.4.11+dfsg-1
    • 1:27.3.4.11+dfsg-2
    • 1:27.3.4.11+dfsg-3
    • 1:27.3.4.11+dfsg-4
    All versions (40)
    • 1:27.3.4.11+dfsg-5
    • 1:27.3.4.11+dfsg-6
    • 1:27.3.4.11+dfsg-7
    • 1:27.3.4.12+dfsg-1
    • 1:27.3.4.3+dfsg-1
    • 1:27.3.4.4+dfsg-1
    • 1:27.3.4.6+dfsg-1
    • 1:27.3.4.8+dfsg-1
    • 1:27.3.4.9+dfsg-1
    • 1:28.0+dfsg-1
    • 1:28.0.1+dfsg-1
    • 1:28.0.2+dfsg-1
    • 1:28.0.4+dfsg-1
    • 1:28.1.1+dfsg-1
    • 1:28.2+dfsg-1
    • 1:28.3+dfsg-1
    • 1:28.3.1+dfsg-1
    • 1:29.0+dfsg-1
    • 1:29.0+dfsg-2
    • 1:29.0.1+dfsg-1
    • 1:29.0.2+dfsg-1
    • 1:29.0.3+dfsg-1
    • 1:29.0.4+dfsg-1
    • 1:29.0.6+dfsg-1
    • 1:29.0~rc1+dfsg-1
    • 1:29.0~rc1+dfsg-2
    • 1:29.0~rc2+dfsg-1
    • 1:29.0~rc3+dfsg-1
    • 1:29.0~rc3+dfsg-2
    • 1:29.0~rc3+dfsg-3
    • 1:29.0~rc3+dfsg-4
    • 1:29.1.1+dfsg-1
    • 1:29.1.2+dfsg-1
    • 1:29.1.3+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu Pro 14.04 LTS

    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
    All versions (10)
    • 1:16.b.3-dfsg-1ubuntu2.2
    • 1:16.b.3-dfsg-1ubuntu2.2+esm1
    • 1:16.b.3-dfsg-1ubuntu2.2+esm2
    • 1:16.b.3-dfsg-1ubuntu2.2+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu Pro 16.04 LTS

    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
    All versions (11)
    • 1:18.3-dfsg-1ubuntu3.1
    • 1:18.3-dfsg-1ubuntu3.1+esm1
    • 1:18.3-dfsg-1ubuntu3.1+esm2
    • 1:18.3-dfsg-1ubuntu3.1+esm3
    • 1:18.3-dfsg-1ubuntu3.1+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu Pro 18.04 LTS

    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
    All versions (14)
    • 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
    • 1:20.2.2+dfsg-1ubuntu2+esm3
    • 1:20.2.2+dfsg-1ubuntu2+esm4
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu Pro 20.04 LTS

    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
    All versions (15)
    • 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
    • 1:22.2.7+dfsg-1ubuntu0.5+esm2
    • 1:22.2.7+dfsg-1ubuntu0.5+esm3
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu 22.04 LTS

    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
    All versions (15)
    • 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
    • 1:24.2.1+dfsg-1ubuntu0.7
    • 1:24.2.1+dfsg-1ubuntu0.8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu 24.04 LTS

    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
    All versions (13)
    • 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
    • 1:25.3.2.8+dfsg-1ubuntu4.7
    • 1:25.3.2.8+dfsg-1ubuntu4.8
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu 26.10

    Versions
    • 1:27.3.4.6+dfsg-1
    • 1:27.3.4.12+dfsg-1
    • 1:29.0.6+dfsg-1
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

  • erlang Ubuntu 26.04 LTS

    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
    • 1:27.3.4.6+dfsg-1ubuntu0.1
    • 1:27.3.4.6+dfsg-1ubuntu0.2
    Affected ranges
    • ECOSYSTEM: (−∞, +∞)

    No fix published

Original sources

Check your server →