---
title: "CVE-2026-112018: cgltf - Out of Bounds Read/Write"
description: "cgltf through 1.15 contains a heap out-of-bounds write caused by unchecked sparse accessor indices in cgltf_accessor_unpack_floats(), letting attackers write outside the output buffer, exploit requires crafted glTF or GLB file and cgltf_validate() not called."
url: https://panop.io/threat-heartbeat/CVE-2026-112018/
---

# CVE-2026-112018 cgltf - Out of Bounds Read/Write

cgltf through 1.15 contains a heap out-of-bounds write caused by unchecked sparse accessor indices in cgltf\_accessor\_unpack\_floats(), letting attackers write outside the output buffer, exploit requires crafted glTF or GLB file and cgltf\_validate() not called.

CVSS base score 7.0 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-112018)

## Details

Type

Out-of-bounds Read/Write

Impact

Remote Code Execution, Denial of Service

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Published

18 October 2026

Updated

19 October 2026

Weakness

[CWE-787](https://cwe.mitre.org/data/definitions/787.html)

## Vendor fix

Update to the latest version beyond 1.15 where this issue is fixed.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-112018](https://nvd.nist.gov/vuln/detail/CVE-2026-112018)
- [https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accessor-unpack-floats](https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-write-via-cgltf-accessor-unpack-floats)
- [https://github.com/jkuhlmann/cgltf](https://github.com/jkuhlmann/cgltf)
- [https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441](https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441)
- [https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob](https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
