CVE-2026-112018 Details
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.
A heap out-of-bounds write vulnerability has been identified in the cgltf library, specifically in the version through 1.15. The issue arises in the function cgltf_accessor_unpack_floats(), where sparse accessor indices are not properly validated. This vulnerability allows attackers to manipulate glTF or GLB files by inserting large sparse indices, leading to memory corruption, application crashes, and potentially arbitrary code execution, especially when the validation function cgltf_validate() is not utilized.
To address this vulnerability, the cgltf library should be updated to version 1.15 or later, where the issue has been fixed. Additionally, consumers of the library should ensure that they validate their glTF data before unpacking accessors, especially when using sparse accessors.
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 19, 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.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-787 | Out-of-bounds Write | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| jkuhlmann/cgltf | <= 1.15 |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 19, 2026 | CVE Modified | CISA-ADP |
| Oct 18, 2026 | New CVE Received | [email protected] |
Volerion