| Titolo | Assimp commit 17c12da Heap-based Buffer Overflow |
|---|
| Descrizione | 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. |
|---|
| Fonte | ⚠️ https://github.com/assimp/assimp/issues/6622 |
|---|
| Utente | TYGLS (UID 94774) |
|---|
| Sottomissione | 01/06/2026 09:40 (1 mese fa) |
|---|
| Moderazione | 03/07/2026 16:03 (1 month later) |
|---|
| Stato | Accettato |
|---|
| Voce VulDB | 376118 [Open Asset Import Library Assimp fino a 6.0.5 CSM File CSMLoader.cpp InternReadFile buffer overflow] |
|---|
| Punti | 20 |
|---|