{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.2",
    "cveMetadata": {
        "cveId": "CVE-2026-55737",
        "assignerOrgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
        "state": "PUBLISHED",
        "assignerShortName": "EEF",
        "dateReserved": "2026-06-17T10:44:34.365Z",
        "datePublished": "2026-07-27T15:13:54.699Z",
        "dateUpdated": "2026-11-20T05:58:23.254Z"
    },
    "containers": {
        "cna": {
            "affected": [
                {
                    "cpes": [
                        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "erlang",
                        "external"
                    ],
                    "packageName": "erts",
                    "packageURL": "pkg:otp/erts?repository_url=https:%2F%2Fgithub.com%2Ferlang%2Fotp&vcs_url=git%2Bhttps:%2F%2Fgithub.com%2Ferlang%2Fotp.git",
                    "product": "OTP",
                    "programFiles": [
                        "emulator/beam/external.c"
                    ],
                    "programRoutines": [
                        {
                            "name": "erlang:binary_to_term/1"
                        },
                        {
                            "name": "erlang:binary_to_term/2"
                        },
                        {
                            "name": "dec_term"
                        },
                        {
                            "name": "decoded_size"
                        }
                    ],
                    "repo": "https://github.com/erlang/otp",
                    "vendor": "Erlang",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "15.2.7.11",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "16.4.0.4",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "17.0.4",
                                    "status": "unaffected"
                                }
                            ],
                            "lessThan": "*",
                            "status": "affected",
                            "version": "13.0",
                            "versionType": "otp"
                        }
                    ]
                },
                {
                    "cpes": [
                        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "erlang",
                        "external"
                    ],
                    "packageName": "otp",
                    "packageURL": "pkg:software-id/erlang.org/otp",
                    "product": "OTP",
                    "programFiles": [
                        "erts/emulator/beam/external.c"
                    ],
                    "programRoutines": [
                        {
                            "name": "erlang:binary_to_term/1"
                        },
                        {
                            "name": "erlang:binary_to_term/2"
                        },
                        {
                            "name": "dec_term"
                        },
                        {
                            "name": "decoded_size"
                        }
                    ],
                    "vendor": "Erlang",
                    "versions": [
                        {
                            "changes": [
                                {
                                    "at": "27.3.4.15",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "28.5.0.4",
                                    "status": "unaffected"
                                },
                                {
                                    "at": "29.0.4",
                                    "status": "unaffected"
                                }
                            ],
                            "lessThan": "*",
                            "status": "affected",
                            "version": "25.0",
                            "versionType": "otp"
                        }
                    ]
                },
                {
                    "collectionURL": "https://github.com",
                    "cpes": [
                        "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*"
                    ],
                    "defaultStatus": "unaffected",
                    "modules": [
                        "erlang",
                        "external"
                    ],
                    "packageName": "erlang/otp",
                    "packageURL": "pkg:github/erlang/otp",
                    "product": "OTP",
                    "programFiles": [
                        "erts/emulator/beam/external.c"
                    ],
                    "programRoutines": [
                        {
                            "name": "erlang:binary_to_term/1"
                        },
                        {
                            "name": "erlang:binary_to_term/2"
                        },
                        {
                            "name": "dec_term"
                        },
                        {
                            "name": "decoded_size"
                        }
                    ],
                    "repo": "https://github.com/erlang/otp",
                    "vendor": "Erlang",
                    "versions": [
                        {
                            "lessThan": "c5210b42a9d3d96f3d25601942ce8122be0f3761",
                            "status": "affected",
                            "version": "ebcbb97b4ec223464cac3d94375739a248ddef6e",
                            "versionType": "git"
                        }
                    ]
                }
            ],
            "cpeApplicability": [
                {
                    "nodes": [
                        {
                            "cpeMatch": [
                                {
                                    "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "27.3.4.15",
                                    "versionStartIncluding": "25.0",
                                    "vulnerable": true
                                },
                                {
                                    "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "28.5.0.4",
                                    "versionStartIncluding": "28.0",
                                    "vulnerable": true
                                },
                                {
                                    "criteria": "cpe:2.3:a:erlang:erlang\\/otp:*:*:*:*:*:*:*:*",
                                    "versionEndExcluding": "29.0.4",
                                    "versionStartIncluding": "29.0",
                                    "vulnerable": true
                                }
                            ],
                            "negate": false,
                            "operator": "OR"
                        }
                    ],
                    "operator": "AND"
                }
            ],
            "credits": [
                {
                    "lang": "en",
                    "type": "finder",
                    "value": "Nick Gunn"
                },
                {
                    "lang": "en",
                    "type": "remediation developer",
                    "value": "Kiko Fernandez-Reyes"
                },
                {
                    "lang": "en",
                    "type": "remediation reviewer",
                    "value": "Sverker Eriksson"
                }
            ],
            "datePublic": "2026-07-27T15:13:54.000Z",
            "descriptions": [
                {
                    "lang": "en",
                    "supportingMedia": [
                        {
                            "base64": false,
                            "type": "text/html",
                            "value": "<p>Signed to Unsigned Conversion Error and Out-of-bounds Write vulnerability in Erlang OTP <code>erts</code> allows an attacker who can supply a crafted Erlang external term format (ETF) binary to <code>binary_to_term/1</code> to corrupt the BEAM heap pointer and crash the virtual machine.</p>\n<p>When decoding a <code>LARGE_TUPLE_EXT</code> term, the validation pass <code>decoded_size()</code> in <code>erts/emulator/beam/external.c</code> reads the 32-bit arity field as unsigned (<code>get_uint32()</code>), while the decode pass <code>dec_term()</code> reads the same field as a signed 32-bit integer (<code>get_int32()</code>) into an <code>int</code>. An arity wire value of <code>0x80000000</code> passes validation as 2147483648 but decodes as -2147483648, so the subsequent <code>hp += n</code> moves the heap allocation pointer backward. Neither pass enforces the runtime tuple-arity limit <code>MAX_ARITYVAL</code>. 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.</p>\n<p>This issue affects OTP from OTP&nbsp;25.0 before OTP&nbsp;27.3.4.15, OTP&nbsp;28.5.0.4, and OTP&nbsp;29.0.4, corresponding to erts from 13.0 before 15.2.7.11, 16.4.0.4, and 17.0.4.</p>"
                        },
                        {
                            "base64": false,
                            "type": "text/markdown",
                            "value": "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."
                        }
                    ],
                    "value": "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."
                }
            ],
            "impacts": [
                {
                    "capecId": "CAPEC-92",
                    "descriptions": [
                        {
                            "lang": "en",
                            "value": "CAPEC-92 Forced Integer Overflow"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV4_0": {
                        "Automatable": "NOT_DEFINED",
                        "Recovery": "NOT_DEFINED",
                        "Safety": "NOT_DEFINED",
                        "attackComplexity": "LOW",
                        "attackRequirements": "NONE",
                        "attackVector": "LOCAL",
                        "baseScore": 5.1,
                        "baseSeverity": "MEDIUM",
                        "privilegesRequired": "NONE",
                        "providerUrgency": "NOT_DEFINED",
                        "subAvailabilityImpact": "NONE",
                        "subConfidentialityImpact": "NONE",
                        "subIntegrityImpact": "NONE",
                        "userInteraction": "NONE",
                        "valueDensity": "NOT_DEFINED",
                        "vectorString": "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",
                        "version": "4.0",
                        "vulnAvailabilityImpact": "LOW",
                        "vulnConfidentialityImpact": "NONE",
                        "vulnIntegrityImpact": "NONE",
                        "vulnerabilityResponseEffort": "NOT_DEFINED"
                    },
                    "format": "CVSS",
                    "scenarios": [
                        {
                            "lang": "en",
                            "value": "GENERAL"
                        }
                    ]
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-195",
                            "description": "CWE-195 Signed to Unsigned Conversion Error",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                },
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-787",
                            "description": "CWE-787 Out-of-bounds Write",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
                "shortName": "EEF",
                "dateUpdated": "2026-11-20T05:58:23.254Z"
            },
            "references": [
                {
                    "name": "Heap Pointer Corruption via signed/unsigned Mismatch in LARGE_TUPLE_EXT Decoding (binary_to_term/1)",
                    "tags": [
                        "vendor-advisory",
                        "related"
                    ],
                    "url": "https://github.com/erlang/otp/security/advisories/GHSA-446w-268v-9462"
                },
                {
                    "name": "EEF CNA record for CVE-2026-55737",
                    "tags": [
                        "related"
                    ],
                    "url": "https://cna.erlef.org/cves/CVE-2026-55737.html"
                },
                {
                    "name": "OSV record EEF-CVE-2026-55737",
                    "tags": [
                        "related"
                    ],
                    "url": "https://osv.dev/vulnerability/EEF-CVE-2026-55737"
                },
                {
                    "name": "Erlang/OTP version ordering",
                    "tags": [
                        "x_version-scheme"
                    ],
                    "url": "https://www.erlang.org/doc/system/versions.html#order-of-versions"
                },
                {
                    "name": "Introducing commit ebcbb97 in erlang/otp",
                    "tags": [
                        "related"
                    ],
                    "url": "https://github.com/erlang/otp/commit/ebcbb97b4ec223464cac3d94375739a248ddef6e"
                },
                {
                    "name": "Fix commit c5210b4 in erlang/otp",
                    "tags": [
                        "patch"
                    ],
                    "url": "https://github.com/erlang/otp/commit/c5210b42a9d3d96f3d25601942ce8122be0f3761"
                }
            ],
            "source": {
                "discovery": "EXTERNAL"
            },
            "title": "Heap pointer corruption via signed/unsigned mismatch in LARGE_TUPLE_EXT decoding in erts external term format decoder"
        },
        "adp": [
            {
                "metrics": [
                    {
                        "other": {
                            "type": "ssvc",
                            "content": {
                                "timestamp": "2026-07-27T18:34:45.698069Z",
                                "id": "CVE-2026-55737",
                                "options": [
                                    {
                                        "Exploitation": "none"
                                    },
                                    {
                                        "Automatable": "no"
                                    },
                                    {
                                        "Technical Impact": "partial"
                                    }
                                ],
                                "role": "CISA Coordinator",
                                "version": "2.0.3"
                            }
                        }
                    }
                ],
                "title": "CISA ADP Vulnrichment",
                "providerMetadata": {
                    "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
                    "shortName": "CISA-ADP",
                    "dateUpdated": "2026-07-27T18:34:55.080Z"
                }
            }
        ]
    }
}