| Title | Assimp commit 17c12da Heap-based Buffer Overflow |
|---|
| Description | A heap-based buffer overflow vulnerability exists in Assimp Library's CSM file parsing module within the Assimp::CSMImporter::InternReadFile function at CSMLoader.cpp:228. The vulnerability is caused by insufficient validation of dynamically calculated buffer allocation sizes when parsing malicious CSM files. When processing a specially crafted malformed CSM file, the program allocates a heap buffer for storing aiVectorKey structures based on untrusted parsed file data. The flawed logic allows the buffer to be allocated with an extremely small size of only 1 usable byte, which is far insufficient to hold a complete aiVectorKey structure (24 bytes). Subsequently, the code directly writes the fullaiVectorKey data into the undersized heap buffer without boundary checks, triggering a heap buffer overflow write operation and causing memory corruption and program crash. Attackers can exploit this vulnerability by supplying a maliciously constructed CSM model file. Successful exploitation can result in denial-of-service (DoS) attacks, and may potentially allow arbitrary code execution due to controllable heap memory corruption. |
|---|
| Source | ⚠️ https://github.com/assimp/assimp/issues/6622 |
|---|
| User | TYGLS (UID 94774) |
|---|
| Submission | 06/01/2026 09:40 (1 month ago) |
|---|
| Moderation | 07/03/2026 16:03 (1 month later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 376118 [Open Asset Import Library Assimp up to 6.0.5 CSM File CSMLoader.cpp InternReadFile heap-based overflow] |
|---|
| Points | 20 |
|---|