---
id: CVE-2026-32845
title: >-
  cgltf version 1.15 and prior contain an integer overflow vulnerability in the
  cgltf_validate() function when validating sparse accessors that allows
  attackers to trigger out-of-bounds reads by supplying crafted glTF/GLB input
  files with …
summary: >-
  cgltf version 1.15 and prior contain an integer overflow vulnerability in the
  cgltf_validate() function when validating sparse accessors that allows
  attackers to trigger out-of-bounds reads by supplying crafted glTF/GLB input
  files with …
severity: high
cvss: 8.4
cvssVector: 'CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-190
published: '2026-03-23'
updated: '2026-07-07'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-32845'
references:
  - url: 'https://github.com/jkuhlmann/cgltf/issues/287'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/jkuhlmann/cgltf/pull/293'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/jkuhlmann-cgltf-sparse-accessor-validation-integer-overflow
    label: disclosure@vulncheck.com
  - url: 'https://github.com/jkuhlmann/cgltf/issues/287'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.00135
epssPercentile: 0.0334
ingestedAt: '2026-07-07T21:43:23.182Z'
---

## Overview

cgltf version 1.15 and prior contain an integer overflow vulnerability in the cgltf_validate() function when validating sparse accessors that allows attackers to trigger out-of-bounds reads by supplying crafted glTF/GLB input files with attacker-controlled size values. Attackers can exploit unchecked arithmetic operations in sparse accessor validation to cause heap buffer over-reads in cgltf_calc_index_bound(), resulting in denial of service crashes and potential memory disclosure.

## Remediation

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