CVE-2026-112018 cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()

High 7.3 Published Updated

Attackers can execute code or crash applications by supplying crafted glTF files with unchecked sparse indices to the cgltf library.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2026-112018?

CVE-2026-112018 is a high-severity memory corruption vulnerability in jkuhlmann cgltf, published on 18 Oct 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-787

Which versions are affected by CVE-2026-112018?

How do I fix CVE-2026-112018?

No fix has been published for CVE-2026-112018 yet. Limit exposure of the affected software until one is available.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2026-112018 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-112018 exists.

Sources

Also known as GHSA-6vjv-6x7m-3wjx.

Is CVE-2026-112018 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free