SimulationCraftに遠隔からプログラムを実行される脆弱性
Summary
SimulationCraftのnightly版(release-820-01以降、2026年5月7日のnightlyまで)には、JSONのsocketsの処理で配列の境界を確認しないことにより、ヒープ領域への書き込みが起きる脆弱性(CVE-2026-47235)があります。悪意あるsimcプロファイルや改変されたBattle.net APIの応答により、クラッシュやコード実行が起きるおそれがあり、CVSS v4.0のスコアは7.5(高)です。修正はnightly版のsimc-1205-01-516b5d7に含まれていますが、修正を含むリリースタグは公開されていないため、最新の情報を確認してください。
AI summary
Written by an external AI model and may contain mistakes. Check the original description and references below before acting on it.
SimulationCraftのnightly版(release-820-01以降、2026年5月7日のnightlyまで)には、JSONのsocketsの処理で配列の境界を確認しないことにより、ヒープ領域への書き込みが起きる脆弱性(CVE-2026-47235)があります。悪意あるsimcプロファイルや改変されたBattle.net APIの応答により、クラッシュやコード実行が起きるおそれがあり、CVSS v4.0のスコアは7.5(高)です。修正はnightly版のsimc-1205-01-516b5d7に含まれていますが、修正を含むリリースタグは公開されていないため、最新の情報を確認してください。
Affected packages
| Ecosystem | Package | Affected | Fixed |
|---|---|---|---|
| simulationcraft | simc | — | — |
Original description The description as published by the source.
SimulationCraft is a tool to explore combat mechanics in World of Warcraft. In builds after release-820-01 and before the identified May 7, 2026 nightly, the bcp_api.cpp loop over the JSON sockets array uses slot_data["sockets"].Size() without bounding gem_idx by MAX_GEM_SLOTS, which is four in engine/sc_enums.hpp. The destination gem_id and gem_bonus_id arrays in engine/item/item.hpp have only four elements. More than four socket entries therefore write beyond gem_id into the adjacent gem_bonus_id vector storage; bonus_list entries can also access gem_bonus_id out of bounds. Corrupting a vector's _M_start pointer causes the item_t destructor to free an attacker-influenced pointer during normal cleanup. The advisory reports crashes and code execution demonstrated in a testing environment. Attack inputs can arrive through a malicious .simc profile with a [[equipment]] section, a compromised addon export, or Battle.net API responses modified by an attacker with a privileged network position. The fix is contained in the nightly build identified as simc-1205-01-516b5d7; no containing release tag is available.
Source: CVE.org (CVE Program・cvelistV5) NVD