CVE-2026-47235

Source
https://cve.org/CVERecord?id=CVE-2026-47235
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47235.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-47235
Aliases
  • GHSA-wc9c-hfh3-phxx
Published
2026-10-28T15:38:21Z
Modified
2026-11-06T01:05:58Z
Severity
  • 7.5 (High) CVSS_V4 - 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 CVSS Calculator
Summary
SimulationCraft: Heap-Based Buffer Overflow / Out-of-Bounds Write in SimulationCraft's gem_id Array
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-122",
        "CWE-787"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47235.json"
}
References

Affected packages

Git / github.com/simulationcraft/simc

Affected ranges

Type
GIT
Repo
https://github.com/simulationcraft/simc
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "aff85992d284ca4621e784c6b065a271b22f629d"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "fixed":  "aff85992d284ca4621e784c6b065a271b22f629d"
                }
            ],
            "source":  "REFERENCES_COMMIT"
        }
    ]
}

Affected versions

Other
release-602-1
release-602-2
release-602-3
release-602-4
release-602-5
release-603-02
release-603-1
release-603-10
release-603-11
release-603-12
release-603-14
release-603-15
release-603-16
release-603-17
release-603-18
release-603-19
release-603-2
release-603-20
release-603-22
release-603-23
release-603-25
release-603-26
release-603-27
release-603-3
release-603-4
release-603-5
release-603-8
release-603-9
release-610-01
release-610-02
release-610-03
release-610-04
release-610-05
release-610-06
release-610-07
release-612-01
release-612-02
release-620-01
release-620-02
release-622-01
release-703-01
release-703-02
release-703-03
release-710-01
release-710-02
release-715-01
release-720-01
release-720-02
release-725-01
release-730-01
release-730-02
release-801-01
release-810-01
release-815-01
release-820-01
release-830-01

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47235.json"
vanir_signatures
[
    {
        "deprecated":  false,
        "digest":  {
            "line_hashes":  [
                "50165168987909833277573264109970083268",
                "246466234827796633194997659896704254100",
                "128867486747144936318660676875339998737",
                "17567412721507351424827556203242038983",
                "102209087274380225588972607569292567996",
                "278163512529255019355618771040737399381",
                "179839979349840290589923584771358860868",
                "246328530507915646070118524818432019619",
                "20100785721954312197379087855097454497",
                "144446903284290490325404010663949618634",
                "111978675801302712794734963795598401395",
                "292375337378944036841107661757996048706",
                "60005891264392221538726228188327866108",
                "71234289119158649515446644186387740602",
                "324214064607053959409465826912018170270"
            ],
            "threshold":  0.9
        },
        "id":  "CVE-2026-47235-47422432",
        "signature_type":  "Line",
        "signature_version":  "v1",
        "source":  "https://github.com/simulationcraft/simc/commit/aff85992d284ca4621e784c6b065a271b22f629d",
        "target":  {
            "file":  "engine/interfaces/bcp_api.cpp"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "80803822392353250135110760720640935435",
            "length":  7612
        },
        "id":  "CVE-2026-47235-82148b2e",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/simulationcraft/simc/commit/aff85992d284ca4621e784c6b065a271b22f629d",
        "target":  {
            "file":  "engine/interfaces/bcp_api.cpp",
            "function":  "download_item_data"
        }
    },
    {
        "deprecated":  false,
        "digest":  {
            "function_hash":  "239900469364456987047579093451496690666",
            "length":  3959
        },
        "id":  "CVE-2026-47235-8ce3ac03",
        "signature_type":  "Function",
        "signature_version":  "v1",
        "source":  "https://github.com/simulationcraft/simc/commit/aff85992d284ca4621e784c6b065a271b22f629d",
        "target":  {
            "file":  "engine/interfaces/bcp_api.cpp",
            "function":  "parse_items"
        }
    }
]
vanir_signatures_modified
"2026-11-06T01:05:58Z"