{"id":"CVE-2026-112018","title":"cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()","summary":"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…","severity":"high","cvss":7,"cvssVector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","cvssSource":"cna","cwe":["CWE-787"],"vendor":"jkuhlmann","product":"cgltf","affected":["cgltf <= 1.15"],"published":"2026-10-18","updated":"2026-10-18","sourceUpdated":"2026-10-18T11:38:38.538Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-112018","references":[{"url":"https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob"},{"url":"https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441"},{"url":"https://github.com/jkuhlmann/cgltf"},{"url":"https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accessor-unpack-floats","label":"VulnCheck Advisory: cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()"}],"tags":["cve.org"],"ingestedAt":"2026-10-18T11:40:26.620Z","slug":"CVE-2026-112018","body":"## Overview\n\ncgltf 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.\n\n## Affected\n\n- `cgltf <= 1.15`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":39,"depthScoreParts":{"impact":38.5,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}