---
id: CVE-2026-112019
title: cgltf through 1.15 Heap Out-of-Bounds Read via cgltf_accessor_unpack_floats()
summary: >-
  cgltf through 1.15 contains a heap out-of-bounds read vulnerability in
  cgltf_accessor_unpack_floats() that advances the sparse values cursor by the
  base bufferView byteStride. Attackers can supply a crafted glTF or GLB file
  that passes c…
severity: medium
cvss: 6.1
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:H'
cvssSource: cna
cwe:
  - CWE-125
vendor: jkuhlmann
product: cgltf
affected:
  - cgltf <= 1.15
published: '2026-10-18'
updated: '2026-10-18'
sourceUpdated: '2026-10-18T11:38:39.224Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-112019'
references:
  - url: 'https://hackmd.io/@haindpwn/cgltf-accessor-unpack-floats-sparse-oob'
  - url: >-
      https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L2436-L2441
  - url: >-
      https://github.com/jkuhlmann/cgltf/blob/360db1a95480fe102ae9c69b27c5d101167ff5ba/cgltf.h#L1612-L1619
  - url: 'https://github.com/jkuhlmann/cgltf'
  - url: >-
      https://www.vulncheck.com/advisories/cgltf-through-1.15-heap-out-of-bounds-read-via-cgltf-accessor-unpack-floats
    label: >-
      VulnCheck Advisory: cgltf through 1.15 Heap Out-of-Bounds Read via
      cgltf_accessor_unpack_floats()
tags:
  - cve.org
ingestedAt: '2026-10-18T11:40:26.619Z'
---

## Overview

cgltf through 1.15 contains a heap out-of-bounds read vulnerability in cgltf_accessor_unpack_floats() that advances the sparse values cursor by the base bufferView byteStride. Attackers can supply a crafted glTF or GLB file that passes cgltf_validate() to read adjacent heap memory into vertex data or crash applications.

## Affected

- `cgltf <= 1.15`

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
