Description (CNA)
cgltf version 1.15 and prior contain an integer overflow vulnerability in the cgltf_validate() function when validating sparse accessors that allows attackers to trigger out-of-bounds reads by supplying crafted glTF/GLB input files with attacker-controlled size values. Attackers can exploit unchecked arithmetic operations in sparse accessor validation to cause heap buffer over-reads in cgltf_calc_index_bound(), resulting in denial of service crashes and potential memory disclosure.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jkuhlmann / cgltf | affected 0 through 1.15.0 |
CWE
CWE-190
References
- https://github.com/jkuhlmann/cgltf/issues/287
- https://github.com/jkuhlmann/cgltf/pull/293
- https://www.vulncheck.com/advisories/jkuhlmann-cgltf-sparse-accessor-validation-integer-overflow
ADP enrichment
No English description supplied.