Advisory

PYSEC-2025-226

Also known as: CVE-2025-57108

Summary

The record has no summary.

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.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2025-10-31 15:15 UTC
Modified
2026-05-20 09:19 UTC

Affected packages and fixes

vtk

PyPI · All systems

Affected

  • introduced 0, fixed 9.5.1 (ecosystem)

Fixed versions

9.5.1

Fix

  • Fixed version 9.5.1
    pip install --upgrade vtk==9.5.1

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences