jkuhlmann/cgltf

jkuhlmann/cgltf

Releases16
Frequency4 months 3 weeks
Last Release
Stars1.91K
:diamond_shape_with_a_dot_inside: Single-file glTF 2.0 loader and writer written in C99

CVE History

CVEPublishedCVSS v3CVSS v2
8.4 HIGH

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.