Vulnerability 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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/jkuhlmann/cgltf
- https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba
- https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob
- https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write
- https://hackmd.io/@haindpwn/cve-2026-112018-112019-cgltf-accessor-unpack-floats-
FAQ
What is CVE-2026-112018?
CVE-2026-112018 is a vulnerability with a CVSS score of 7.0 (HIGH). 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. A...
How severe is CVE-2026-112018?
CVE-2026-112018 has been rated HIGH with a CVSS base score of 7.0/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-112018?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.