CVE-2026-112019 Details
Description
cgltf through 1.15 contains a heap out-of-bounds read vulnerability in cgltf_accessor_unpack_floats() that advances the sparse values cursor by the base bufferView byteStride. Attackers can supply a crafted glTF or GLB file that passes cgltf_validate() to read adjacent heap memory into vertex data or crash applications.
A heap out-of-bounds read vulnerability has been identified in the cgltf library, specifically in the function cgltf_accessor_unpack_floats. This vulnerability exists in versions through 1.15 and allows attackers to exploit sparse accessors in glTF or GLB files. When such a file is parsed, the vulnerability can be triggered by crafting an accessor that takes advantage of the way sparse values are handled. The issue arises because the function advances the cursor for sparse values based on the accessor's byteStride, which can lead to reading adjacent heap memory into vertex data or causing applications to crash. Notably, this vulnerability can be exploited even if the glTF file passes validation checks.
To address this vulnerability, the cgltf library should be updated to version 1.15 or later, where the issue has been fixed. Users can also apply the recommended changes manually by modifying the cgltf_accessor_unpack_floats function to include proper bounds checks and adjust how the sparse values cursor is advanced.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Oct 18, 2026CISA-ADP
Assessed Oct 20, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob | CISA-ADP | BundleExploitRemedyTechnical Analysis |
| https://github.com/jkuhlmann/cgltf | [email protected] | Source CodeVendor |
| https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L1612-L1619 | [email protected] | Source CodeVendor |
| https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441 | [email protected] | Source CodeVendor |
| https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob | [email protected] | BundleExploitRemedyTechnical Analysis |
| https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-read-via-cgltf-accessor-unpack-floats | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-125 | Out-of-bounds Read | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cgltf | <= 1.15 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 20, 2026 | CVE Modified | CISA-ADP |
| Oct 18, 2026 | New CVE Received | [email protected] |
Volerion