Vulnerability DatabaseCVE-2026-129480

CVE-2026-129480: 
Linux Debian vulnerability analysis and mitigation

Overview

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).

Technical details

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).

Impact

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).

Exploitability

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).

Exploitation steps

  1. Craft a malicious MD2 file: Using a script (e.g., 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.
  2. Deliver the file to the target application: Provide the crafted .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.
  3. Trigger non-zero keyframe selection: Ensure the importing application selects a non-zero animation keyframe, either by setting 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.
  4. Trigger out-of-bounds read: When 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.
  5. Observe impact: On instrumented builds, the process aborts immediately with an ASan heap-buffer-overflow report. On uninstrumented builds, a SEGV crash occurs. If the application exposes mesh data to the attacker (e.g., via a web service or file export), adjacent heap memory may be disclosed (Assimp Issue #6932).

Indicators of compromise

  • File System: Presence of unexpected or externally-sourced .md2 files in application asset directories, particularly small files (e.g., ≤ 512 bytes) with anomalous header fields.
  • Process: Unexpected crash (SEGV/abort/exit code 134) of an application using Assimp when loading an MD2 file; core dumps or crash reports referencing MD2Importer::InternReadFile or MD2Loader.cpp:406.
  • Logs: Application crash logs or ASan output containing strings such as heap-buffer-overflow, MD2Loader.cpp:406, MD2Importer::InternReadFile, or AddressSanitizer: heap-buffer-overflow on address ... READ of size 1.
  • Network: Unexpected delivery of .md2 files from untrusted external sources to applications that process 3D assets (Assimp Issue #6932).

Mitigation and workarounds

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).

Additional resources

Linux Distribution fix status

Fix availability across major Linux distributions and their releases.

Debian

Affected

bookworm

assimp

Affected

sid

assimp

Affected

trixie

assimp

Affected

Ubuntu

Unknown

bionic (esm-apps)

assimp

Unknown

devel

assimp

Unknown

focal (esm-apps)

assimp

Unknown

jammy

assimp

Unknown

jammy (esm-apps)

assimp

Unknown

noble

assimp

Unknown

noble (esm-apps)

assimp

Unknown

resolute

assimp

Unknown

RHEL / CentOS

Affected

RHEL 9

Not Affected

RHEL 10

Not Affected

Source: This report was generated using AI

Related Linux Debian vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-134844HIGH7.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134843HIGH7.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134845HIGH7.4
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134847MEDIUM6.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026
CVE-2026-134846MEDIUM6.5
  • Linux Debian logoLinux Debian
  • libpgjava
NoNoNov 23, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management