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.
Published: 2026-10-18
Score: 7.3 High
EPSS: < 1% Very Low
KEV: No
Impact: Heap out‑of‑bounds write that can corrupt memory and potentially allow code execution
Action: Immediate Patch
AI Analysis

Impact

This vulnerability occurs in the cgltf function cgltf_accessor_unpack_floats when it attempts to copy sparse accessor indices that have not been validated. The unchecked indices can cause an out‑of‑bounds write on the heap, corrupting the application’s memory space. If the library’s validation routine, cgltf_validate, is not invoked beforehand, the corruption may lead to crashes or, worse, arbitrary code execution by an attacker who supplies a specially crafted glTF or GLB file.

Affected Systems

The affected product is the open‑source glTF parsing library cgltf maintained by jkuhlmann, up to version 1.15. Applications that embed this library to load untrusted or externally supplied glTF/GLB files are potentially impacted, regardless of the host operating system or platform.

Risk and Exploitability

The primary risks are memory corruption leading to crashes or potential remote code execution if the targeted application fails to perform proper validation before unpacking sparse accessor data. The CVSS score of 7.3 indicates high severity, and the vulnerability is not listed in the CISA KEV catalog. The EPSS score is not available, so the likelihood of exploitation is not currently quantified. The impact is localized to applications using the vulnerable library and handling potentially malicious data.

Generated by OpenCVE AI on October 18, 2026 at 13:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade cgltf to version 1.16 or later, which removes the unchecked sparse accessor indices and addresses the heap out‑of‑bounds write.
  • If an upgrade is not immediately possible, insert a call to cgltf_validate before invoking cgltf_accessor_unpack_floats so that the library’s internal checks guard against malformed sparse indices.
  • Implement stricter input controls: validate the size of sparse indices before passing the file to cgltf, or restrict glTF file loading to trusted sources to mitigate the risk from crafted models.

Generated by OpenCVE AI on October 18, 2026 at 13:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 20 Oct 2026 01:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Mon, 19 Oct 2026 19:30:00 +0000


Sun, 18 Oct 2026 22:15:00 +0000

Type Values Removed Values Added
First Time appeared Jkuhlmann
Jkuhlmann cgltf
Vendors & Products Jkuhlmann
Jkuhlmann cgltf

Sun, 18 Oct 2026 11:45:00 +0000

Type Values Removed Values Added
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.
Title cgltf through 1.15 Heap Out-of-Bounds Write via cgltf_accessor_unpack_floats()
Weaknesses CWE-787
References
Metrics cvssV3_1

{'score': 7, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 7.3, 'vector': 'CVSS:4.0/AV:L/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-19T18:36:59.959Z

Reserved: 2026-10-18T01:24:50.766Z

Link: CVE-2026-112018

cve-icon Vulnrichment

Updated: 2026-10-19T18:36:52.601Z

cve-icon NVD

Status : Deferred

Published: 2026-10-18T12:17:14.747

Modified: 2026-10-19T19:17:25.060

Link: CVE-2026-112018

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-18T22:00:18Z

Weaknesses