Vulnerability in Erlangotp (CVE-2026-49760)
Summary
Vulnerability in Erlangotp (CVE-2026-49760). Risk of unauthorized operations or information disclosure.
Original description
The description as published by the source.
Summary
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.
Workarounds
Avoid calling ei_s_print_term with untrusted data whose encoded integer representation could exceed 2000 characters.
Source: NIST National Vulnerability Database NVD GitHub Advisory
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-49760 has been found in Erlangotp.
Risk of unauthorized operations or information disclosure. CVSS score: 5.5/10.
What to do: apply the vendor's official patched release.
If unsure, ask your IT team or search "Erlangotp CVE-2026-49760" on the vendor's site.
CVE-2026-49760 (Erlangotp) — CWE-121 / CVSS v3 5.5
Attack vector: local / no user interaction
Workaround: Avoid calling ei_s_print_term with untrusted data whose encoded integer representation could exceed 2000 characters.
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-121) exists in Erlangotp.
Check the vendor advisory for the affected versions of Erlangotp.
Severity: Medium (CVSS 5.5/10). Risk of unauthorized operations or information disclosure.
Update to the patched release per vendor advisory.
Workaround: Avoid calling ei_s_print_term with untrusted data whose encoded integer representation could exceed 2000 characters.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'Erlangotp' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1Identify exposure identify
grep -r 'Erlangotp' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
Erlangotpを grep し、稼働しているサービス・バージョンを把握する。 -
2Apply temporary workaround mitigate
Avoid calling ei\_s\_print\_term with untrusted data whose encoded integer representation could exceed 2000 characters.パッチが適用されるまでの応急処置として、Avoid calling ei_s_print_term with untrusted data whose encoded integer representation could exceed 2000 characters. を実施。回避策の副作用 (機能低下) を確認した上で。
-
3Post-deployment verification verify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2026-49760 erlang
- Ubuntu UBUNTU-CVE-2026-49760 erlang Fixed in: 1:16.b.3-dfsg-1ubuntu2.2+esm3
References
- advisory github.com
- advisory osv.dev
- patch github.com
- web cna.erlef.org
- web erlang.org