CVE-2026-49760: Stack Buffer Overflow in ei_s_print_term at Very Large Integer

Published Jun 10, 2026
·
Updated

Stack Buffer Overflow in eisprintterm at Very Large Integer

Other sources

Stack-based Buffer Overflow vulnerability in Erlang OTP (erlinterface) allows Stack-based Buffer Overflow.

This vulnerability is associated with program file lib/erlinterface/src/misc/eiprintterm.c and program routine eisprintterm.

The C function eisprintterm uses an internal 2000-character stack buffer to format terms. When called with an encoded Erlang term containing a very large integer (encoded representation exceeding 2000 characters), the buffer overflows. The overflow bytes are restricted to the ASCII values of 0-9 and A-F, which limits exploitation to Denial of Service.

The companion function eiprintterm, which prints directly to a FILE instead of a memory buffer, does not contain this bug.

This issue affects OTP from OTP 17.0 before OTP 29.0.2, OTP 28.5.0.2 and OTP 27.3.4.13, corresponding to erlinterface from 3.7.16 before 5.8.1, 5.7.0.1 and 5.5.2.1.

MITRE

Affected Software

9 affected componentsFixes available
Erlang OTP>=17.0<27.3.4.13, >=17.0<28.5.0.2, >=17.0<29.0.2
Erlang erl_interface>=3.7.16<5.5.2.1, >=3.7.16<5.7.0.1, >=3.7.16<5.8.1
Erlang Erl Interface>=3.7.16<5.5.2.1
Erlang Erl Interface>=5.7<5.7.0.1
Erlang Erl Interface>=5.8<5.8.1
Erlang Erlang\/otp>=17.0<27.3.4.13
Erlang Erlang\/otp>=28.0<28.5.0.2
Erlang Erlang\/otp>=29.0<29.0.2
Microsoft azl3 erlang 26.2.5.20-1<26.2.5.21-2
26.2.5.21-2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.2.5.21-2
  2. Upgrade

    Upgrade erl_interface (ei_s_print_term / ei_printterm.c) to a version that resolves this vulnerability.

    Fixed in 5.8.1
  3. Upgrade

    Upgrade erl_interface (ei_s_print_term / ei_printterm.c) to a version that resolves this vulnerability.

    Fixed in 5.7.0.1
  4. Upgrade

    Upgrade erl_interface (ei_s_print_term / ei_printterm.c) to a version that resolves this vulnerability.

    Fixed in 5.5.2.1

Event History

Jun 10, 2026
CVE Published
via MITRE·02:35 PM
Data Sourced
via MITRE·02:35 PM
DescriptionWeakness
Data Sourced
via NVD·04:17 PM
RemedyDescriptionSeverityWeaknessAffected Software
Jun 17, 2026
Data Sourced
via Microsoft·08:01 AM
DescriptionSeverityWeakness
Data Sourced
via Microsoft·08:01 AM
Affected Software
Updated
via Microsoft·08:01 AM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-49760?

CVE-2026-49760 has a medium severity rating of 6.9.

2

What is CVE-2026-49760?

CVE-2026-49760 is a stack-based buffer overflow vulnerability in the ei_s_print_term function of Erlang OTP.

3

How do I fix CVE-2026-49760?

To fix CVE-2026-49760, update to the latest version of Erlang OTP that addresses this vulnerability.

4

Who is affected by CVE-2026-49760?

CVE-2026-49760 affects users of Erlang OTP that utilize the erl_interface library.

5

What are the potential impacts of CVE-2026-49760?

The potential impacts of CVE-2026-49760 include the possibility of arbitrary code execution due to the buffer overflow.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203