# CVE-2025-57108: PYSEC-2025-226 - Kitware VTK (Visualization Toolkit) through 9.5.0 contains a heap use-after-free vulnerability in…

Source: https://junglewise.ai/threats/cve-2025-57108-pysec-2025-226-kitware-vtk-visualization-toolkit-through-9-5-0  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-10-31  
License: CC BY 4.0 with a link back

CVE-2025-57108 · Severity: low · CVSS 3.1 · Published 2025-10-31

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.

Technologies: [vtk (PyPI)](https://junglewise.ai/threats/technologies/vtk). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2025-57108 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-57108 being exploited in the wild.

**How severe is CVE-2025-57108?** Low severity, with a CVSS score of 3.1, published 31 October 2025.

**Which products and versions are affected?** vtk (PyPI) ECOSYSTEM:introduced=0,fixed=9.5.1.

**Is there a fix for CVE-2025-57108?** Yes. vtk (PyPI): upgrade to 9.5.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-57108?** Check whether you run vtk (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- vtk (PyPI): upgrade to 9.5.1 or later

  ```sh
  pip install "vtk>=9.5.1"
  ```


## Affected products

- vtk (PyPI) ECOSYSTEM:introduced=0,fixed=9.5.1

## Identifiers

- CVE-2025-57108
- PYSEC-2025-226

## Related threats

- [PYSEC-2025-225 - Kitware VTK (Visualization Toolkit) through 9.5.0 contains a heap buffer overflow vulnerability in…](https://junglewise.ai/threats/cve-2025-57107-pysec-2025-225-kitware-vtk-visualization-toolkit-through-9-5-0)
- [PYSEC-2025-224 - Kitware VTK (Visualization Toolkit) up to 9.5.0 is vulnerable to Buffer Overflow in…](https://junglewise.ai/threats/cve-2025-57106-pysec-2025-224-kitware-vtk-visualization-toolkit-up-to-9-5-0-is)
- [VTK NULL pointer dereference vulnerability](https://junglewise.ai/threats/cve-2021-42521-vtk-null-pointer-dereference-vulnerability)
