ERLANGのErl Interface等の複数製品におけるスタックベースのバッファオーバーフローの脆弱性
タイトル ERLANGのErl Interface等の複数製品におけるスタックベースのバッファオーバーフローの脆弱性
概要

Erlang OTP(erl_interface)におけるスタックベースのバッファオーバーフロー脆弱性により、スタックベースのバッファオーバーフローが発生します。この脆弱性は、プログラムファイル lib/erl_interface/src/misc/ei_printterm.c およびプログラムルーチン ei_s_print_term に関連しています。関数 ei_s_print_term は、用語をフォーマットするために内部の2000文字のスタックバッファを使用します。非常に大きな整数を含むエンコードされたErlangの用語(エンコード表現が2000文字を超える)で呼び出されると、このバッファがオーバーフローします。オーバーフローするバイトは0-9およびA-FのASCII値に制限されており、その影響はサービス拒否(DoS)を引き起こすことに限定されます。メモリバッファではなく直接FILEに出力するei_print_term関数にはこのバグは含まれていません。この問題は、OTP 17.0から27.3.4.13、28.5.0.2、29.0.2までのバージョン、および対応する erl_interface の3.7.16から5.5.2.1、5.7.0.1、5.8.1までに影響を及ぼします。

想定される影響 ・当該ソフトウェアが扱う情報について、外部への漏えいは発生しません。 ・当該ソフトウェアが扱う情報について、書き換えは発生しません。 ・当該ソフトウェアが完全に停止する可能性があります。 
対策

ベンダ情報を参照して適切な対策を実施してください。

公表日 2026年6月10日0:00
登録日 2026年6月16日13:40
最終更新日 2026年6月16日13:40
CVSS3.0 : 警告
スコア 5.5
ベクター CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
影響を受けるシステム
ERLANG
Erl Interface 3.7.16 以上 5.5.2.1 未満
Erl Interface 5.7 以上 5.7.0.1 未満
Erl Interface 5.8 以上 5.8.1 未満
Erlang/OTP 17.0 以上 27.3.4.13 未満
Erlang/OTP 28.0 以上 28.5.0.2 未満
Erlang/OTP 29.0 以上 29.0.2 未満
CVE (情報セキュリティ 共通脆弱性識別子)
CWE (共通脆弱性タイプ一覧)
ベンダー情報
その他
変更履歴
No 変更内容 変更日
1 [2026年06月16日]
  掲載
2026年6月16日13:40

NVD脆弱性情報
CVE-2026-49760
概要

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 27.3.4.13, 28.5.0.2 and 29.0.2, corresponding to erl_interface from 3.7.16 before 5.5.2.1, 5.7.0.1 and 5.8.1.

公表日 2026年6月11日1:17
登録日 2026年6月11日4:18
最終更新日 2026年6月16日3:23
影響を受けるソフトウェアの構成
構成1 以上 以下 より上 未満
cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:* 3.7.16 5.5.2.1
cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:* 5.7 5.7.0.1
cpe:2.3:a:erlang:erl_interface:*:*:*:*:*:*:*:* 5.8 5.8.1
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* 17.0 27.3.4.13
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* 28.0 28.5.0.2
cpe:2.3:a:erlang:erlang\/otp:*:*:*:*:*:*:*:* 29.0 29.0.2
関連情報、対策とツール
共通脆弱性一覧