PyPA Advisory Database
PYSEC-2025-226
Details
Kitware VTK (Visualization Toolkit) through 9.5.0 contains a heap use-after-free vulnerability in vtkGLTFDocumentLoader. The vulnerability manifests during mesh object copy operations where vector members are accessed after the underlying memory has been freed, specifically when handling GLTF files with corrupted or invalid mesh reference structures.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | vtk | All versions before 9.5.1 (fixed in 9.5.1) |