Invia #658075: Open Asset Import Library Assimp 6.0.2 / master commit 0581ed5 Uncontrolled Memory Allocationinformazioni

TitoloOpen Asset Import Library Assimp 6.0.2 / master commit 0581ed5 Uncontrolled Memory Allocation
DescrizioneThe bug occurs in the Q3DImporter::InternReadFile function, where the importer reads the number of materials (numMats) directly from the input file without validation. This value is then used in a call to materials.reserve(numMats) and later in a loop with materials.emplace_back(). Since numMats is attacker-controlled, a malicious file can specify an extremely large value, leading the program to request an allocation far exceeding addressable memory. This results in an allocation-size-too-big error under ASan and causes the process to terminate.
Fonte⚠️ https://github.com/assimp/assimp/issues/6356
Utente
 sand (UID 90194)
Sottomissione18/09/2025 15:44 (9 mesi fa)
Moderazione04/10/2025 08:02 (16 days later)
StatoAccettato
Voce VulDB327008 [Open Asset Import Library Assimp 6.0.2 Q3DLoader.cpp InternReadFile negazione del servizio]
Punti20

Do you want to use VulDB in your project?

Use the official API to access entries easily!