| 标题 | Assimp commit 17c12da NULL Pointer Dereference |
|---|
| 描述 | A NULL pointer dereference vulnerability exists in Assimp commit 17c12da, located in the `glTF2Importer::ImportEmbeddedTextures` function in `code/AssetLib/glTF2/glTF2Importer.cpp` at line 1725. The flaw is triggered by processing maliciously crafted glTF files containing malformed `mimeType` values that lack the '/' character. The application fails to validate the return value of the `strchr` function; when `strchr` returns NULL due to the missing delimiter, unsafe pointer arithmetic (+1) generates an invalid memory address (0x1), which is then dereferenced in a `strncmp` operation. This causes an invalid memory read and immediate application crash (segmentation fault). Remote attackers can exploit this vulnerability by supplying a malicious glTF file to execute a denial-of-service (DoS) attack against affected Assimp-based applications without requiring any privileges or user interaction. |
|---|
| 来源 | ⚠️ https://github.com/assimp/assimp/issues/6608 |
|---|
| 用户 | TYGLS (UID 94774) |
|---|
| 提交 | 2026-05-07 04時23分 (29 日前) |
|---|
| 管理 | 2026-05-31 08時13分 (24 days later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 367477 [Assimp 直到 6.0.4 TF File glTF2Importer.cpp ImportEmbeddedTextures 拒绝服务] |
|---|
| 积分 | 20 |
|---|