# CVE-2026-49760: Erlang OTP stack overflow in erl_interface ei_s_print_term

Source: https://junglewise.ai/threats/cve-2026-49760-erlang-otp-stack-overflow-in-erl-interface-ei-s-print-term  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-06-10. Updated: 2026-06-10  
License: CC BY 4.0 with a link back

CVE-2026-49760 · Severity: info · CVSS 6.9 · Published 2026-06-10

Erlang OTP is a popular development platform used to build highly scalable and available distributed systems. A technical flaw in one of its interface libraries could allow a local attacker to crash applications that process specially crafted data. While this issue primarily causes a service outage (Denial of Service), it does not appear to allow for the theft of sensitive data or unauthorized system control.

Vendors: [Erlang/OTP](https://junglewise.ai/threats/vendors/erlang-otp).

## Quick answers

**Is CVE-2026-49760 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-49760 being exploited in the wild.

**How severe is CVE-2026-49760?** Informational severity, with a CVSS score of 6.9, published 10 June 2026.

**Which products and versions are affected?** Erlang/OTP Erl Interface 3.7.16 before 5.5.2.1, 5.7.0.1, 5.8.1.

**Is there a fix for CVE-2026-49760?** A patch was published on 2026-06-10. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-49760 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-49760?** Check whether you run Erlang/OTP Erl Interface at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A stack-based buffer overflow exists in the 'ei_s_print_term' function within 'lib/erl_interface/src/misc/ei_printterm.c'. The function utilizes a fixed 2000-character internal stack buffer to format Erlang terms. When processing an encoded Erlang term containing a very large integer (where the hexadecimal representation exceeds 2000 characters), the buffer overflows. Exploitation is primarily limited to Denial of Service (DoS) because the overflowing bytes are restricted to ASCII values (0-9 and A-F). The vulnerability affects OTP versions from 17.0 up to various patched releases in the 27, 28, and 29 branches. Users are advised to update to versions 27.3.4.13, 28.5.0.2, or 29.0.2.

## Affected products

- Erlang OTP 17.0 before 27.3.4.13, 28.5.0.2, 29.0.2
- Erlang erl_interface 3.7.16 before 5.5.2.1, 5.7.0.1, 5.8.1

## Timeline

- 2026-06-10: disclosed
- 2026-06-10: advisory
- 2026-06-10: patched

## References

- [https://cna.erlef.org/cves/CVE-2026-49760.html](https://cna.erlef.org/cves/CVE-2026-49760.html)
- [https://github.com/erlang/otp/commit/0bef277b2d39dc8babb9ceb4f5d0a456f3007111](https://github.com/erlang/otp/commit/0bef277b2d39dc8babb9ceb4f5d0a456f3007111)
- [https://github.com/erlang/otp/security/advisories/GHSA-xcxj-5pg2-v72j](https://github.com/erlang/otp/security/advisories/GHSA-xcxj-5pg2-v72j)
- [https://www.erlang.org/doc/system/versions.html](https://www.erlang.org/doc/system/versions.html)
