{"id":"CVE-2026-47235","aliases":["CVE-2026-47235"],"related":[],"kind":"vulnerability","state":"published","title":"SimulationCraft: Heap-Based Buffer Overflow / Out-of-Bounds Write in SimulationCraft's gem_id Array","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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":"cvelist"},{"lang":"es","text":"SimulationCraft es una herramienta para explorar las mecánicas de combate en World of Warcraft. En las compilaciones posteriores a release-820-01 y anteriores a la versión nocturna identificada del 7 de mayo de 2026, el bucle de “bcp_api.cpp” sobre el array JSON “sockets” utiliza “slot_data[“sockets”].Size()” sin limitar “gem_idx” por “MAX_GEM_SLOTS”, que es cuatro en “engine/sc_enums.hpp”. Los arrays de destino “gem_id” y “gem_bonus_id” en “engine/item/item.hpp” tienen solo cuatro elementos. Por lo tanto, más de cuatro entradas de socket escriben más allá de “gem_id” en el almacenamiento del vector adyacente “gem_bonus_id”; las entradas de “bonus_list” también pueden acceder a “gem_bonus_id” fuera de los límites. Corromper el puntero “_M_start” de un vector hace que el destructor de “item_t” libere un puntero influenciado por el atacante durante la limpieza normal. El aviso informa de fallos y ejecución de código demostrados en un entorno de pruebas. Las entradas de ataque pueden llegar a través de un perfil “.simc” malicioso con una sección “[[equipment]]”, una exportación de complemento comprometida o respuestas de la “API de Battle.net” modificadas por un atacante con una posición de red privilegiada. La corrección está contenida en la compilación nocturna identificada como simc-1205-01-516b5d7; no hay una etiqueta de lanzamiento que la contenga disponible.","source":"nvd"}],"published":"2026-10-28T15:38:21.113Z","modified":"2026-11-04T23:10:00.223Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:A/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:L/SI:L/SA:L","score":7.5,"rating":"HIGH"}],"cwes":["CWE-122","CWE-787"],"affected":[{"ranges":[{"version":"< aff85992d284ca4621e784c6b065a271b22f629d","status":"affected"}],"vendor":"simulationcraft","product":"simc","source":"cvelist"}],"references":[{"url":"https://github.com/simulationcraft/simc/security/advisories/GHSA-wc9c-hfh3-phxx","tags":["exploit","x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/simulationcraft/simc/commit/aff85992d284ca4621e784c6b065a271b22f629d","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-10-29T18:38:11.836Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-47235","url":"https://www.cve.org/CVERecord?id=CVE-2026-47235","licence":"CVE Terms of Use","modified":"2026-10-29T18:38:47.642Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-47235","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-47235","licence":"Public domain","modified":"2026-11-04T23:10:00.223Z"}],"updatedAt":"2026-11-25T22:59:47.624Z","epss":{"score":0.00284,"percentile":0.22494,"date":"2026-12-01T12:00:22.000Z"}}