提交 #658075: Open Asset Import Library Assimp 6.0.2 / master commit 0581ed5 Uncontrolled Memory Allocation信息

标题Open Asset Import Library Assimp 6.0.2 / master commit 0581ed5 Uncontrolled Memory Allocation
描述The 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.
来源⚠️ https://github.com/assimp/assimp/issues/6356
用户
 sand (UID 90194)
提交2025-09-18 15時44分 (1 年前)
管理2025-10-04 08時02分 (16 days later)
状态已接受
VulDB条目327008 [Open Asset Import Library Assimp 6.0.2 Q3DLoader.cpp InternReadFile 拒绝服务]
积分20

Want to know what is going to be exploited?

We predict KEV entries!