Buffer overflow in Jkuhlmann Cgltf
CVE-2026-112018
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.
Vulnerability class: Buffer Overflow
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H.
EPSS exploit prediction
No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.
Affected products
Weakness classification (CWE)
References
- hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob (technical-description)
- github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h (technical-description)
- github.com/jkuhlmann/cgltf (product)
- www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cg… (third-party-advisory)
Frequently asked questions
- What is CVE-2026-112018?
- CVE-2026-112018 is a high-severity vulnerability in Jkuhlmann Cgltf, classified under Out-of-bounds Write. CVSS score: 7.0/10. Published 2026-10-18.
- How severe is CVE-2026-112018?
- High severity. CVSS v3 base score is 7.0 out of 10.