Heap pointer corruption via signed/unsigned mismatch in LARGE_TUPLE_EXT decoding in erts external term format decoder
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Jul 27, 2026
- Updated
- Aug 10, 2026
- EPSS
- 0.5% · 41th percentile
- CWE
- CWE-195
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
20
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.1 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 0.5%
CISA SSVC decision
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · EEF
- 5.1
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Affected systems
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- erlang erlang/otp25.0 and later · before 27.3.4.15
- erlang erlang/otp28.0 and later · before 28.5.0.4
- erlang erlang/otp29.0 and later · before 29.0.4
- erlang erts13.0 and later · before 15.2.7.11
- erlang erts16.0 and later · before 16.4.0.4
- erlang erts17.0 and later · before 17.0.4
Versions reported by the vendor
Affected version ranges reported by the assigning authority (EEF). Independent of NVD's CPE analysis and usually ahead of it.
Erlang OTP
- 13.0 and lateraffected · otpfixed in 17.0.4, 16.4.0.4, 15.2.7.11
- 25.0 and lateraffected · otpfixed in 29.0.4, 28.5.0.4, 27.3.4.15
- ebcbb97b4ec223464cac3d94375739a248ddef6e and later · before c5210b42a9d3d96f3d25601942ce8122be0f3761affected · git
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | erlang | all versions | — |
| Debian:13 | erlang | before 1:27.3.4.1+dfsg-1+deb13u3 | 1:27.3.4.1+dfsg-1+deb13u3 |
| Debian:14 | erlang | before 1:29.0.4+dfsg-1 | 1:29.0.4+dfsg-1 |
| openSUSE:Tumbleweed | erlang | before 28.5.0.4-1.1 | 28.5.0.4-1.1 |
| openSUSE:Tumbleweed | erlang27 | before 27.1.3-3.1 | 27.1.3-3.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP7 | erlang | before 23.3.4.19-150300.3.39.1 | 23.3.4.19-150300.3.39.1 |
| SUSE:Linux Enterprise Module for Server Applications 15 SP7 | erlang26 | before 26.2.1-150300.7.28.1 | 26.2.1-150300.7.28.1 |
Same product
erlang: all recordsOther highest-scoring records for the same primary product.
- CVE-2025-32433Erlang/OTP SSH Vulnerable to Pre-Authentication RCEKEV100Now
- CVE-2022-37026In Erlang/OTP before 23.3.4.15, 24.x before 24.3.4.2, and 25.x before 25.0.2, there is a Client Authentication Bypass in certain client-cert39Monitor
- CVE-2016-10253An issue was discovered in Erlang/OTP 18.x.39Monitor
- CVE-2026-55953TLS 1.2 and DTLS client accepts unoffered anonymous cipher suite, bypassing server authentication36Monitor
- CVE-2026-49759Stack buffer overflow in SCTP error cause parsing in inet_drv allows remote VM crash35Monitor
- CVE-2026-59251Denial of service via exponential certificate policy tree growth in path validation34Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| Erlang OTP | 15.2.7.11 | Vendor (CNA) |
| Erlang OTP | 16.4.0.4 | Vendor (CNA) |
| Erlang OTP | 17.0.4 | Vendor (CNA) |
| Erlang OTP | 27.3.4.15 | Vendor (CNA) |
| Erlang OTP | 28.5.0.4 | Vendor (CNA) |
| Erlang OTP | 29.0.4 | Vendor (CNA) |
| Erlang OTP | c5210b42a9d3d96f3d25601942ce8122be0f3761 | Vendor (CNA) |
| azl3 erlang 26.2.5.21-4 on Azure Linux 3.0 | 26.2.5.21-3 · CBL-Mariner Releases | Microsoft (MSRC) |
| debian:erlang | 1:27.3.4.1+dfsg-1+deb13u3 · Debian:13 | Package registry (OSV) |
| opensuse:erlang | 28.5.0.4-1.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| opensuse:erlang27 | 27.1.3-3.1 · openSUSE:Tumbleweed | Package registry (OSV) |
| suse:erlang | 23.3.4.19-150300.3.39.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
| suse:erlang26 | 26.2.1-150300.7.28.1 · SUSE:Linux Enterprise Module for Server Applications 15 SP7 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Nick Gunnfinder
- Sverker Erikssonremediation reviewer
- Kiko Fernandez-Reyesremediation developer
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-195 · Signed to Unsigned Conversion ErrorCVSS 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
nvd-secondary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- cna.erlef.org/cves/CVE-2026-55737.html
- github.com/erlang/otp/commit/c5210b42a9d3d96f3d25601942ce8122be0f3761
- github.com/erlang/otp/security/advisories/GHSA-446w-268v-9462
- osv.dev/vulnerability/EEF-CVE-2026-55737
- www.erlang.org/doc/system/versions.html#order-of-versions
Vendor advisories and official records. Exploit/PoC links are deliberately left out.