Description (CNA)
cgltf through 1.15 contains an integer overflow vulnerability in the non-sparse accessor bounds check within cgltf_validate() that allows remote attackers to cause memory disclosure and denial of service by supplying crafted accessor count values. Attackers can provide malformed .gltf or .glb input with a specially crafted accessor count to overflow the unsigned integer multiplication of accessor stride and element count, causing the bounds check to pass and triggering a heap out-of-bounds read when cgltf_accessor_read_float() is subsequently called on the validated malformed accessor.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| jkuhlmann / cgltf | affected 0 through 1.15 |
CWE
CWE-190
References
- https://github.com/jkuhlmann/cgltf/issues/301
- https://www.vulncheck.com/advisories/cgltf-integer-overflow-via-cgltf-validate-accessor-bounds-check
ADP enrichment
No English description supplied.
No references supplied.