CVE-2026-112018
cgltf through 1.15 contains a heap out-of-bounds write …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/jkuhlmann/cgltf
- github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L24
- hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob
- www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accesso
- hackmd.io/@haindpwn/cve-2026-112018-112019-cgltf-accessor-unpack-floats-sparse-oob
- nvd.nist.gov/vuln/detail/CVE-2026-112018
- cve.org/CVERecord?id=CVE-2026-112018
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.