Medium severity · published Jun 10, 2026
CVE-2026-49760
Stack Buffer Overflow in ei_s_print_term at Very Large Integer
5.5
CVSS
0.1%
EPSS
No
On KEV
Description
Stack-based Buffer Overflow vulnerability in Erlang OTP (erl_interface) allows Stack-based Buffer Overflow.
This vulnerability is associated with program file lib/erl_interface/src/misc/ei_printterm.c and program routine ei_s_print_term.
The C function ei_s_print_term 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 ei_print_term, 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 27.3.4.13, OTP 28.5.0.2, and OTP 29.0.2, corresponding to erl_interface from 3.7.16 before 5.5.2.1, 5.7.0.1, and 5.8.1. Whether OTP before OTP 17.0, corresponding to erl_interface before 3.7.16, is affected is unknown.
CVSS vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Attack vector
Local
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
None
Integrity
None
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.1% · higher than 3% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
OT
OTP · Erlang
17.0; 3.7.16; 84adefa331c4159d432d22840663c38f155cd4c1 before 0bef277b2d39dc8babb9ceb4f5d0a456f3007111 · source: vendor
EI
Erl Interface · Erlang
3.7.16 before 5.5.2.1; 5.7 before 5.7.0.1; 5.8 before 5.8.1 · source: NVD
ER
Erlang/otp · Erlang
17.0 before 27.3.4.13; 28.0 before 28.5.0.2; 29.0 before 29.0.2 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-49760
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-49760
Mitigation
https://cna.erlef.org/cves/CVE-2026-49760.html
Patch
https://github.com/erlang/otp/commit/0bef277b2d39dc8babb9ceb4f5d0a456f3007111
Mitigation
https://github.com/erlang/otp/security/advisories/GHSA-xcxj-5pg2-v72j
Mitigation
https://osv.dev/vulnerability/EEF-CVE-2026-49760
Product
https://www.erlang.org/doc/system/versions.html#order-of-versions
More from OTP
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
9.8
CVE-2026-28808
ScriptAlias CGI targets bypass directory auth in inets httpd (mod_auth vs mod_cgi path mismatch)
9.8
CVE-2022-37026
In 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-certification situations for SSL, TLS, and…
9.8
CVE-2016-10253
An issue was discovered in Erlang/OTP 18.x
9.4
CVE-2026-23941
Request smuggling via first-wins Content-Length parsing in inets httpd
