Advisory

UBUNTU-CVE-2026-55737

Also known as: CVE-2026-55737

Summary

The record has no summary.

Details

Signed to Unsigned Conversion Error and Out-of-bounds Write vulnerability in Erlang OTP erts allows an attacker who can supply a crafted Erlang external term format (ETF) binary to binary_to_term/1 to corrupt the BEAM heap pointer and crash the virtual machine. When decoding a LARGE_TUPLE_EXT term, the validation pass decoded_size() in erts/emulator/beam/external.c reads the 32-bit arity field as unsigned (get_uint32()), while the decode pass dec_term() reads the same field as a signed 32-bit integer (get_int32()) into an int. An arity wire value of 0x80000000 passes validation as 2147483648 but decodes as -2147483648, so the subsequent hp += n moves the heap allocation pointer backward. Neither pass enforces the runtime tuple-arity limit MAX_ARITYVAL. The result is an out-of-bounds heap write; in practice the VM detects an impossible heap size and aborts, denying service. The required padding is large when uncompressed but the compressed-ETF envelope shrinks it to a small payload on the wire. This issue affects OTP from OTP 25.0 before OTP 29.0.4, OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to erts from 13.0 before 17.0.4, 16.4.0.4 and 15.2.7.11.

Severity

High Basis: CVSS v3 score 7.5, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Dates

Published
2026-07-27 16:17 UTC
Modified
2026-09-28 22:45 UTC

Affected packages and fixes

erlang

Debian packages (deb) · Ubuntu 24.04

Affected

  • introduced 0, fixed 1:25.3.2.8+dfsg-1ubuntu4.7 (ecosystem)

Fixed versions

1:25.3.2.8+dfsg-1ubuntu4.7

Fix

  • Fixed version 1:25.3.2.8+dfsg-1ubuntu4.7
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

erlang

Debian packages (deb) · Ubuntu 26.04

Affected

  • introduced 0, fixed 1:27.3.4.6+dfsg-1ubuntu0.1 (ecosystem)

Fixed versions

1:27.3.4.6+dfsg-1ubuntu0.1

Fix

  • Fixed version 1:27.3.4.6+dfsg-1ubuntu0.1
    sudo apt-get update && sudo apt-get upgrade

This command upgrades the distribution's packages. Compare the fixed version with the version you have installed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Ubuntu Security Notices · CC BY-SA 4.0

Sources & licences