| 标题 | Assimp commit 17c12da Heap-based Buffer Overflow |
|---|
| 描述 | 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. |
|---|
| 来源 | ⚠️ https://github.com/assimp/assimp/issues/6622 |
|---|
| 用户 | TYGLS (UID 94774) |
|---|
| 提交 | 2026-06-01 09時40分 (4 月前) |
|---|
| 管理 | 2026-07-03 16時03分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 376118 [Open Asset Import Library Assimp 直到 6.0.5 CSM File CSMLoader.cpp InternReadFile 内存损坏] |
|---|
| 积分 | 20 |
|---|