# CVE-2026-55737: Heap pointer corruption via signed/unsigned mismatch in LARGE\_TUPLE\_EXT decoding in erts external term format decoder

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 5.1
- **CVSS:** 5.1 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: None; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: None; Availability impact: Low; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-195, CWE-787
- **Published:** 2026-07-27T15:13:54.699Z
- **Modified:** 2026-11-20T06:17:31.620Z

## Who should check

- Anyone running Erlang OTP \>= 13.0, \< \*
- Anyone running Erlang OTP \>= 25.0, \< \*
- Anyone running Erlang OTP \>= ebcbb97b4ec223464cac3d94375739a248ddef6e, \< c5210b42a9d3d96f3d25601942ce8122be0f3761

## 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.

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 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.

## Affected and fixed versions

- Erlang OTP: \>= 13.0, \< \* (cvelist)
- Erlang OTP: \>= 25.0, \< \* (cvelist)
- Erlang OTP: \>= ebcbb97b4ec223464cac3d94375739a248ddef6e, \< c5210b42a9d3d96f3d25601942ce8122be0f3761 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-55737. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-55737.md
Affected: Erlang OTP >= 13.0, < *; Erlang OTP >= 25.0, < *; Erlang OTP >= ebcbb97b4ec223464cac3d94375739a248ddef6e, < c5210b42a9d3d96f3d25601942ce8122be0f3761
Fixed in: no fixed version listed yet

Steps:
1. Search this machine and project for Erlang OTP: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-55737 being exploited?

There is no confirmed exploitation: CVE-2026-55737 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-55737?

Medium: CVSS 5.1 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2026-55737?

Erlang OTP \>= 13.0, \< \*; Erlang OTP \>= 25.0, \< \*; Erlang OTP \>= ebcbb97b4ec223464cac3d94375739a248ddef6e, \< c5210b42a9d3d96f3d25601942ce8122be0f3761.

### Is there a fix for CVE-2026-55737?

No fixed version is listed in the sources yet. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2026-55737?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/erlang/otp/security/advisories/GHSA-446w-268v-9462>
- patch: <https://cna.erlef.org/cves/CVE-2026-55737.html>
- patch: <https://osv.dev/vulnerability/EEF-CVE-2026-55737>
- patch: <https://github.com/erlang/otp/commit/ebcbb97b4ec223464cac3d94375739a248ddef6e>
- patch: <https://github.com/erlang/otp/commit/c5210b42a9d3d96f3d25601942ce8122be0f3761>
- other: <https://www.erlang.org/doc/system/versions.html#order-of-versions>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-55737>

HTML: <https://flawdb.com/CVE-2026-55737> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-55737>
