CVE-2026-112018
cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()
- State
- Published
- Severity
- 7.3 High
- Published
- Oct 18, 2026
- Updated
- Oct 19, 2026
- Reserved
- Oct 18, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.3 High | 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 | VulnCheck |
| 3.1 | 7.0 High | CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H | VulnCheck |
Weaknesses
- CWE-787 Out-of-bounds Write
Affected Products
| Product | Versions |
|---|---|
cgltfjkuhlmann |
|
References
- https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oobtechnical-description
- https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441technical-description
- https://github.com/jkuhlmann/cgltfproduct
- VulnCheck Advisory: cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()third-party-advisory
- https://hackmd.io/@haindpwn/cve-2026-112018-112019-cgltf-accessor-unpack-floats-sparse-oobexploit
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.