What’s Vulnerable › Vulnerabilities
CVE-2026-112018: cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()
- Severity: high (CVSS 7.0 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-10-18 · updated 2026-10-19
- Weakness: CWE-787
Description
cgltf through 1.15 contains a heap out-of-bounds write vulnerability in cgltf_accessor_unpack_floats() that allows attackers to write outside the output buffer via unchecked sparse accessor indices. Attackers can supply a crafted glTF or GLB file with large sparse indices to corrupt heap memory, crash applications, and potentially execute code when cgltf_validate() is not called.
Affected products
- jkuhlmann cgltf: through 1.15
References
- https://github.com/jkuhlmann/cgltf
- https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441
- https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob
- https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accessor-unpack-floats
- https://hackmd.io/@haindpwn/cve-2026-112018-112019-cgltf-accessor-unpack-floats-sparse-oob
Get alerted when CVE-2026-112018 or the next vulnerability affects your stack