Assimp 6.0.0 through 6.0.6 contains an invalid mesh reference vulnerability in glTF2Exporter::ExportMeshes that causes out-of-bounds access when meshes without faces are skipped during export. Attackers can supply a PLY point cloud or degenerate glTF 2.0 TRIANGLE_STRIP model exported to gltf2 or glb2 to crash the application or trigger out-of-bounds memory reads and writes.
https://github.com/assimp/assimp/issues/7059
https://github.com/assimp/assimp/blob/v6.0.6/code/AssetLib/glTF2/glTF2Exporter.cpp#L1553
https://github.com/assimp/assimp/blob/v6.0.6/code/AssetLib/glTF2/glTF2Exporter.cpp#L1486-L1505
https://github.com/assimp/assimp/blob/v6.0.6/code/AssetLib/glTF2/glTF2Exporter.cpp#L1215-L1219