Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-32845: CWE-190 Integer overflow or wraparound in jkuhlmann cgltf

0
Medium
VulnerabilityCVE-2026-32845cvecve-2026-32845cwe-190
Published: Mon Mar 23 2026 (03/23/2026, 15:50:44 UTC)
Source: CVE Database V5
Vendor/Project: jkuhlmann
Product: cgltf

Description

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 03/31/2026, 19:24:11 UTC

Technical Analysis

The vulnerability identified as CVE-2026-32845 affects the cgltf library, a lightweight C library used for loading and validating glTF (GL Transmission Format) 3D model files. The flaw resides in the cgltf_validate() function, which is responsible for validating sparse accessors — a feature in glTF that allows efficient storage of sparse data arrays. Specifically, the vulnerability is an integer overflow or wraparound (CWE-190) occurring during arithmetic operations on attacker-controlled size values within sparse accessor validation. When a specially crafted glTF or GLB file with maliciously large or manipulated size fields is processed, the integer overflow leads to incorrect calculation of buffer sizes in cgltf_calc_index_bound(). This results in heap buffer over-reads, which can cause application crashes (denial of service) and potentially leak sensitive memory contents. The vulnerability can be triggered without any privileges or user interaction, making it easier to exploit in automated or remote scenarios. The CVSS 4.0 vector indicates local attack vector (AV:L), low attack complexity (AC:L), no privileges required (PR:N), no user interaction (UI:N), and high impact on availability (VA:H) but no impact on confidentiality or integrity. Although no public exploits are known, the nature of the flaw suggests that attackers targeting applications or services that parse untrusted glTF files could leverage this vulnerability to disrupt service or extract memory data.

Potential Impact

Organizations that utilize the cgltf library for processing or rendering glTF/GLB 3D models are at risk of denial of service conditions and potential memory disclosure if they process untrusted or maliciously crafted files. This can affect software in industries such as gaming, virtual reality, augmented reality, 3D content creation, and web applications that embed 3D models. The denial of service can lead to application crashes, service downtime, and degraded user experience. Memory disclosure could expose sensitive data residing in application memory, potentially leading to further exploitation or information leakage. Since the vulnerability requires no privileges or user interaction, automated attacks or supply chain attacks embedding malicious 3D assets are plausible. The impact is particularly significant for organizations that accept user-generated 3D content or integrate third-party 3D assets without strict validation.

Mitigation Recommendations

To mitigate this vulnerability, organizations should first check for and apply any patches or updates released by the cgltf project addressing CVE-2026-32845. If no official patch is available, consider implementing input validation and size checks on glTF/GLB files before processing them with cgltf, specifically verifying sparse accessor size fields to prevent integer overflow conditions. Employ sandboxing or process isolation for components that parse untrusted 3D model files to contain potential crashes or memory leaks. Monitor application logs for crashes or anomalies related to 3D model loading. Additionally, restrict or sanitize user-uploaded 3D content and use whitelisting or file integrity checks to prevent malicious files from entering the processing pipeline. Security teams should also consider fuzz testing glTF parsers to identify similar vulnerabilities proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-03-16T18:11:41.758Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 69c17c7cf4197a8e3b7b5a7b

Added to database: 3/23/2026, 5:46:36 PM

Last enriched: 3/31/2026, 7:24:11 PM

Last updated: 5/7/2026, 4:22:54 AM

Views: 73

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses