{"vuln_id":"CVE-2026-55737","aliases":["GHSA-446w-268v-9462"],"description":"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.\n\nWhen 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.\n\nThis issue affects OTP from OTP 25.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 13.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.","published_at":"2026-07-27T16:17:48.847000Z","modified_at":"2026-11-20T06:17:31.620000Z","first_seen_at":"2026-11-21T19:15:46.403365Z","severity":"medium","severity_source":"nvd","cvss_score":5.1,"cvss_vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/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","cwe":["CWE-195","CWE-787"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00306,"epss_percentile":0.23788,"nvd_status":"Modified","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-55737"},"matched_alias":null,"items":[{"id":3316,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-55737: 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 f…","summary":"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.\n\nWhen 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.\n\nThis issue affects OTP from OTP 25.0 before OTP 27.3.4.15, OTP 28.5.0.4, and OTP 29.0.4, corresponding to erts from 13.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.\n\nReferences:\nhttps://cna.erlef.org/cves/CVE-2026-55737.html\nhttps://github.com/erlang/otp/commit/c5210b42a9d3d96f3d25601942ce8122be0f3761\nhttps://github.com/erlang/otp/commit/ebcbb97b4ec223464cac3d94375739a248ddef6e\nhttps://github.com/erlang/otp/security/advisories/GHSA-446w-268v-9462\nhttps://osv.dev/vulnerability/EEF-CVE-2026-55737\nhttps://www.erlang.org/doc/system/versions.html#order-of-versions","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55737","published_at":"2026-07-27T16:17:48.847000Z","updated_at":"2026-11-20T06:17:31.620000Z","fetched_at":"2026-11-21T19:15:31.478901Z","severity":"medium","cvss_score":5.1,"epss":0.00306,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-55737","vuln_ids":["CVE-2026-55737","GHSA-446W-268V-9462"],"tags":["CWE-195","CWE-787"],"cluster_id":3411,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/3316","html":"https://vulnwatch.ve1ve2.com/item/3316"}}]}