{"id":"CVE-2026-112018","summary":"cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()","details":"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.","modified":"2026-10-24T02:49:26.890538945Z","published":"2026-10-18T11:38:38.538Z","database_specific":{"cwe_ids":["CWE-787"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112018.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/112xxx/CVE-2026-112018.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-112018"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accessor-unpack-floats"},{"type":"PACKAGE","url":"https://github.com/jkuhlmann/cgltf"},{"type":"ARTICLE","url":"https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441"},{"type":"ARTICLE","url":"https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob"},{"type":"EVIDENCE","url":"https://hackmd.io/@haindpwn/cve-2026-112018-112019-cgltf-accessor-unpack-floats-sparse-oob"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jkuhlmann/cgltf","events":[{"introduced":"0"},{"last_affected":"360db1a95480fe102ae9c69b27c5d101167ff5ba"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"last_affected":"1.15"}]},{"range":[{"introduced":"0"},{"last_affected":"1.15"}],"source":"DESCRIPTION"}]}}],"versions":["v1.15","v1.14","v1.13","v1.12","v1.11","v1.10","v1.9","v1.8","v1.7","v1.6","v1.5","v1.4","v1.3","v1.2","v1.1","v1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-112018.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}