CVE-2026-55737: CWE-195 Signed to Unsigned Conversion Error in Erlang OTP
CVE-2026-55737 is a signed to unsigned conversion error in Erlang OTP's binary_to_term/1 function that allows crafted external term format binaries to cause out-of-bounds heap writes. This leads to a crash of the Erlang virtual machine due to heap pointer corruption. The vulnerability affects OTP versions from 25.0 up to but not including 29.0.4, including specific patch releases of OTP 28 and 27. The issue arises from inconsistent interpretation of a 32-bit arity field during decoding, resulting in a backward heap pointer move and subsequent memory corruption.
AI Analysis
Technical Summary
The vulnerability in Erlang OTP erts involves a mismatch in how the LARGE_TUPLE_EXT term's 32-bit arity field is interpreted during validation and decoding. The validation pass reads the arity as an unsigned integer, while the decode pass reads it as a signed integer. This discrepancy allows an attacker to supply a crafted external term format binary with a specific arity value (0x80000000) that passes validation but decodes as a negative number, causing the heap pointer to move backward. This out-of-bounds write corrupts the BEAM heap pointer and crashes the virtual machine. The vulnerability affects OTP versions from 25.0 before 29.0.4, including OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to erts versions from 13.0 before 17.0.4, 16.4.0.4, and 15.2.7.11 respectively.
Potential Impact
An attacker who can supply a crafted Erlang external term format binary to the binary_to_term/1 function can cause the Erlang virtual machine to crash due to heap pointer corruption. This results in a denial of service condition. There is no indication of code execution or privilege escalation. The impact is limited to denial of service via VM crash.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is provided in the available data. Users should monitor Erlang OTP vendor advisories for updates and apply patches once available. Until then, avoid processing untrusted external term format binaries with binary_to_term/1.
CVE-2026-55737: CWE-195 Signed to Unsigned Conversion Error in Erlang OTP
Description
CVE-2026-55737 is a signed to unsigned conversion error in Erlang OTP's binary_to_term/1 function that allows crafted external term format binaries to cause out-of-bounds heap writes. This leads to a crash of the Erlang virtual machine due to heap pointer corruption. The vulnerability affects OTP versions from 25.0 up to but not including 29.0.4, including specific patch releases of OTP 28 and 27. The issue arises from inconsistent interpretation of a 32-bit arity field during decoding, resulting in a backward heap pointer move and subsequent memory corruption.
CVSS v4.0
Score 5.1medium
Affected software
Erlang
OTP
Erlang
OTP
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Erlang OTP erts involves a mismatch in how the LARGE_TUPLE_EXT term's 32-bit arity field is interpreted during validation and decoding. The validation pass reads the arity as an unsigned integer, while the decode pass reads it as a signed integer. This discrepancy allows an attacker to supply a crafted external term format binary with a specific arity value (0x80000000) that passes validation but decodes as a negative number, causing the heap pointer to move backward. This out-of-bounds write corrupts the BEAM heap pointer and crashes the virtual machine. The vulnerability affects OTP versions from 25.0 before 29.0.4, including OTP 28.5.0.4 and OTP 27.3.4.15, corresponding to erts versions from 13.0 before 17.0.4, 16.4.0.4, and 15.2.7.11 respectively.
Potential Impact
An attacker who can supply a crafted Erlang external term format binary to the binary_to_term/1 function can cause the Erlang virtual machine to crash due to heap pointer corruption. This results in a denial of service condition. There is no indication of code execution or privilege escalation. The impact is limited to denial of service via VM crash.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or temporary workaround is provided in the available data. Users should monitor Erlang OTP vendor advisories for updates and apply patches once available. Until then, avoid processing untrusted external term format binaries with binary_to_term/1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-06-17T10:44:34.365Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a677b469c2644c7f851287b
Added to database: 07/27/2026, 15:37:42 UTC
Last enriched: 08/12/2026, 17:15:57 UTC
Last updated: 09/10/2026, 20:02:49 UTC
Views: 95
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.