新着 / 2026年11月28日 / CVE-2026-138151
bgpq4の整数オーバフローによるヒープ破損の脆弱性
掲載
何が問題か
bgpq4 1.17より前のバージョンには、expander.cに整数オーバフローの脆弱性があることが報告されています。悪意のあるIRRサーバーが細工したA<len>応答を送ることで、ヒープメモリが破壊される可能性があります。IRRサーバーを支配する攻撃者、または平文のTCP接続を改ざんできる攻撃者が関与しうると説明されています。
悪用されると
細工された応答により長さがULONG_MAXや-1として扱われ、割り当てサイズが1バイトに折り返されることで、bgpq4がクラッシュする可能性があります。CVSS 4.0の基本値は8.2(HIGH)です。実環境での悪用は公表されていません。
取るべき対応
bgpq4を1.17以降へ更新することを検討してください。修正版の詳細や回避策は公表されていないため、信頼できないIRRサーバーへの接続を避けるとともに、利用中の環境でbgpq4を使用しているかを確認してください。
AIが出典から要約し、数値を機械照合しています。
更新履歴
初回掲載。
指標
| 深刻度(CVSS v4.0) | 重要 8.2CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
|---|---|
| 実際の攻撃での悪用 | CISA KEVには未掲載 |
| 問題の種類 | CWE-190 |
| CVE公開日 | 2026-11-28 |
出典
- NVD: CVE-2026-138151
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L722-L771
- https://github.com/bgp/bgpq4/blob/1.16/expander.c#L918-L958
- https://github.com/bgp/bgpq4/blob/1.17/CHANGES
- https://github.com/bgp/bgpq4/commit/37a3adb76f18a800efa6bb02848fbfd6458512e5
- https://github.com/bgp/bgpq4/commit/a232916868d1422edfc7fd5e0a00edd02c80c79a
- https://github.com/bgp/bgpq4/pull/141
- https://github.com/bgp/bgpq4/releases/tag/1.17
- https://www.vulncheck.com/advisories/bgpq4-before-1.17-heap-buffer-overflow-via-irrd-a-len-reply-handling
公式の説明(英語の原文)
bgpq4 before 1.17 contains an integer overflow vulnerability in expander.c that allows malicious IRR servers to corrupt heap memory by sending crafted A<len> replies. Attackers controlling the IRR server or tampering with the plaintext TCP connection can announce a ULONG_MAX or -1 length, wrapping the allocation to one byte and crashing bgpq4.