Submit #545368: Open Asset Import Library Assimp 5.4.3 Stack-based Buffer Overflowinfo

TitelOpen Asset Import Library Assimp 5.4.3 Stack-based Buffer Overflow
BeschreibungA stack-buffer-overflow vulnerability was discovered in the Assimp::MD2Importer::InternReadFile function within the Assimp Library. This issue occurs when processing certain malformed files, leading to an out-of-bounds write and potential application crash. The vulnerability arises in the Assimp::MD2Importer::InternReadFile function defined in code/AssetLib/MD2/MD2Loader.cpp at line 326. As shown below, the function MD2Importer::InternReadFile lacks checking of iLen before calling memcpy (without restricting the value of iLen), resulting in a write operation beyond the allocated memory. It also reflects that the generation process of pcSkins->name may have the problem of the string not being truncated correctly, resulting in the value of iLen being too large.
Quelle⚠️ https://github.com/assimp/assimp/issues/6069
Benutzer
 Anonymous User
Einreichung28.03.2025 12:12 (vor 2 Jahren)
Moderieren03.04.2025 12:58 (6 days later)
StatusAkzeptiert
VulDB Eintrag303150 [Open Asset Import Library Assimp 5.4.3 Malformed File MD2Loader.cpp InternReadFile name Pufferüberlauf]
Punkte20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!