CVE-2026-138301 in Assimpinfo

Summary

by MITRE • 11/28/2026

Assimp through 6.0.6 contains an integer overflow vulnerability in OgreBinarySerializer::ReadGeometryVertexBuffer that allows attackers to crash applications via crafted Ogre binary .mesh files. Attackers can supply a large vertex count that wraps the 32-bit size calculation, desynchronising parsing and causing aiScene teardown to delete uninitialised mesh pointers.

VulDB is the best source for vulnerability data and more expert information about this specific topic.

Analysis

by VulDB Data Team • 11/28/2026

The Assimp library, specifically through version 6.0.6, contains a critical integer overflow vulnerability located within the OgreBinarySerializer::ReadGeometryVertexBuffer function. This flaw arises from an inadequate validation of input data when processing Ogre binary .mesh files, which are commonly used in 3D graphics applications for defining mesh geometry. The core technical issue involves the calculation of buffer sizes based on vertex counts provided by the file header or embedded metadata. When a crafted file supplies an excessively large vertex count, the arithmetic operation used to determine the required memory allocation exceeds the maximum value representable by a signed 32-bit integer. This results in an integer overflow where the calculated size wraps around to a significantly smaller positive number rather than triggering an error condition or allocating sufficient memory.

This desynchronization between the expected data volume and the allocated buffer leads directly to heap corruption during subsequent parsing operations. Because the parser proceeds with a truncated allocation, it writes beyond the bounds of the allocated memory block as it attempts to read the full vertex data specified in the file header. This out-of-bounds write corrupts adjacent heap metadata or other critical application structures. The immediate operational impact is typically a segmentation fault or access violation that causes the host application to crash abruptly. In more complex scenarios involving specific allocator behaviors, this memory corruption could potentially be leveraged for arbitrary code execution, although the primary reported effect remains denial of service through application termination.

From a threat modeling perspective, this vulnerability aligns with CWE-190 Integer Overflow or Wraparound and CWE-787 Out-of-bounds Write. The attack vector is classified as remote if the affected Assimp implementation processes untrusted 3D assets from network sources, falling under ATT&CK technique T1204 User Execution if it requires user interaction to open a malicious file, or potentially T1195 Exploitation for Credential Access if used in conjunction with other techniques. The vulnerability highlights the risks associated with parsing complex binary formats without rigorous bounds checking and type safety measures during size calculations.

Mitigation strategies should prioritize immediate updates to Assimp version 6.0.7 or later, where this integer overflow has been addressed through improved input validation and safer arithmetic operations that detect potential overflows before allocation occurs. Developers integrating Assimp into their applications must ensure they are using patched versions of the library across all build configurations. Additionally, implementing defense-in-depth measures such as heap hardening techniques like Address Space Layout Randomization (ASLR) and Data Execution Prevention (DEP) can mitigate the exploitability of memory corruption issues by making it more difficult for attackers to achieve reliable code execution even if a crash or partial overwrite occurs. Security teams should also audit their asset pipelines to ensure that only trusted sources are processed, reducing the attack surface presented by unvalidated 3D model files.

Responsible

VulnCheck

Reservation

11/28/2026

Disclosure

11/28/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Do you know our Splunk app?

Download it now for free!