Open Asset Import Library Assimp Heap-Based Buffer Overflow Vulnerability in LWO Importer

Vulnerability

A heap-based buffer overflow vulnerability has been identified in Open Asset Import Library (Assimp) version 5.4.3. The issue arises in the function LWOImporter::GetS0 within the file LWOLoader.h. The vulnerability is caused by improper handling of string data, where the function can read past the intended buffer limit if the string is not properly null-terminated. This out-of-bounds read can lead to memory corruption.

Impact

Exploitation of this vulnerability causes a heap-based buffer overflow, which can lead to memory corruption and potentially allow for arbitrary code execution.

Reproduction

The vulnerability can be reproduced by building the Assimp library with AddressSanitizer (ASAN) enabled, which is the same configuration used by the OSS-Fuzz project's fuzzing engine. After compiling the library and the fuzzer, the issue can be triggered by running the fuzzer with a specially crafted LWO file that exploits the buffer overflow in the LWOImporter::GetS0 function.

Added: Jun 9, 2025, 7:46 PM
Updated: Jun 9, 2025, 7:46 PM

Vulnerability Rating

Custom Algorithm
spread
5.4
impact
2.5
exploitability
6.0
remediation
0.0
relevance
0.0
threat
6.4
urgency
2.9
incentive
1.7

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.