
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-129480 is a heap out-of-bounds read vulnerability in the Open Asset Import Library (Assimp) affecting all versions through 6.0.6. The flaw resides in MD2Importer::InternReadFile and is triggered when a crafted .md2 file with a manipulated frameSize header field is loaded with a non-zero animation keyframe selected. It was reported on October 13, 2026, and published to the NVD and GitHub Advisory Database on November 15, 2026. Affected software is Assimp ≤ 6.0.6. The CVSS v3.1 base score is 5.3 (Medium) and the CVSS v4.0 base score is 5.8 (Medium) (Github Advisory, Assimp Issue #6932).
The root cause (CWE-125: Out-of-bounds Read) is a disconnect between how MD2Importer::ValidateHeader() and MD2Importer::InternReadFile() handle the frameSize field in the MD2 file header. ValidateHeader() computes its own frame size from numVertices (sizeof(MD2::Frame) + (numVertices - 1) * sizeof(MD2::Vertex)) and validates the frame table using that computed value — but never reads or validates the frameSize field stored in the header at file offset 16. At runtime, InternReadFile() navigates to the requested animation frame using the attacker-controlled stored value: m_pcHeader + offsetFrames + (m_pcHeader->frameSize * configFrameID). When a non-zero keyframe is selected (via AI_CONFIG_IMPORT_MD2_KEYFRAME), a crafted file with a large stored frameSize (e.g., 380 vs. the computed 48) steers the vertex pointer past the end of the heap-allocated file buffer, causing an out-of-bounds read at MD2Loader.cpp:406. With the default keyframe of 0, the stored value is multiplied by zero and is inert, so only applications that select non-zero keyframes are affected (Assimp Issue #6932, MD2Loader.cpp v6.0.6).
Successful exploitation can crash the importing application via a heap-buffer-overflow (confirmed as SEGV on uninstrumented builds and abort on ASan-instrumented builds), resulting in denial of service. Additionally, the out-of-bounds read can leak adjacent heap memory contents into the imported mesh data, potentially exposing sensitive in-process data such as heap metadata, strings, or other loaded assets to an attacker who can observe the mesh output. The vulnerability is limited to the local attack surface — an attacker must supply a malicious .md2 file to an application that processes it with a non-zero keyframe, such as 3D model viewers, converters, or game engines using Assimp (Assimp Issue #6932, Github Advisory).
A proof-of-concept (PoC) exploit is publicly available as a GitHub issue writeup with detailed reproduction steps, concrete malformed header values, and ASan crash logs, though no standalone runnable exploit code is included inline (Assimp Issue #6932). The NVD SSVC assessment classifies exploitation status as "poc" with no evidence of in-the-wild exploitation at this time. No threat actor attribution or exploit kit inclusion has been reported. The EPSS score is approximately 0.115% (low probability of exploitation in the next 30 days), and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory).
gen_md2.py as referenced in the PoC), create a .md2 file with a frameSize header field (at file offset 16) set to a value far larger than the computed frame size — for example, stored frameSize = 380 while the computed value based on numVertices is 48. Set offsetFrames = 100 and ensure the file is small (e.g., 512 bytes) so that the inflated stored stride places the frame pointer past the end of the buffer..md2 file to any application that uses Assimp ≤ 6.0.6 to import MD2 models — such as a 3D viewer, game engine asset pipeline, or model converter.AI_CONFIG_IMPORT_MD2_KEYFRAME to a value ≥ 1 or by using the global keyframe configuration. With keyframe 0, the stored frameSize is multiplied by zero and the vulnerability is not triggered.InternReadFile() computes pcFrame = m_pcHeader + offsetFrames + (storedFrameSize * configFrameID), the pointer lands past the end of the heap buffer (e.g., buf + 480 on a 512-byte file). The subsequent vertex dereference at MD2Loader.cpp:406 reads 8 bytes past the allocation, causing a crash (SEGV/abort) or leaking heap memory into the mesh data..md2 files in application asset directories, particularly small files (e.g., ≤ 512 bytes) with anomalous header fields.MD2Importer::InternReadFile or MD2Loader.cpp:406.heap-buffer-overflow, MD2Loader.cpp:406, MD2Importer::InternReadFile, or AddressSanitizer: heap-buffer-overflow on address ... READ of size 1..md2 files from untrusted external sources to applications that process 3D assets (Assimp Issue #6932).The fix is implemented in pull request #7028, which adds a bounds check in MD2Importer::ValidateHeader() to verify — using 64-bit arithmetic — that the requested frame at the stored stride, including all vertex data, lies within the file before any pointer arithmetic is performed; files failing this check are rejected with a DeadlyImportError (Assimp PR #7028). Users should update Assimp to a version newer than 6.0.6 once a patched release is available. As an interim workaround: (1) restrict loading of .md2 files from untrusted sources; (2) ensure applications use the default keyframe 0 (AI_CONFIG_IMPORT_MD2_KEYFRAME = 0) to prevent the stored frameSize from being used in pointer arithmetic; (3) implement input validation for MD2 file headers — specifically cross-checking the stored frameSize against the computed value — before processing (Github Advisory).
Fix availability across major Linux distributions and their releases.
bionic (esm-apps)
assimp
devel
assimp
focal (esm-apps)
assimp
jammy
assimp
jammy (esm-apps)
assimp
noble
assimp
noble (esm-apps)
assimp
resolute
assimp
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."