Submit #821177: Assimp commit 17c12da NULL Pointer Dereferenceinfo

TitleAssimp commit 17c12da NULL Pointer Dereference
DescriptionA 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.
Source⚠️ https://github.com/assimp/assimp/issues/6608
User
 TYGLS (UID 94774)
Submission05/07/2026 04:23 (3 months ago)
Moderation05/31/2026 08:13 (24 days later)
StatusAccepted
VulDB entry367477 [Assimp up to 6.0.4 TF File glTF2Importer.cpp ImportEmbeddedTextures null pointer dereference]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!