CVE-2025-57107 Memory corruption in n/a

High 7.1 Published Updated

Heap buffer overflow in VTK allows attackers to execute arbitrary code or cause denial of service via crafted GLTF files.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-57107?

CVE-2025-57107 is a high-severity memory corruption vulnerability in n/a, published on 31 Oct 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official description

Kitware VTK (Visualization Toolkit) through 9.5.0 contains a heap buffer overflow vulnerability in vtkGLTFDocumentLoader. When processing specially crafted GLTF files, the copy constructor of Accessor objects fails to properly validate buffer boundaries before performing memory read operations.

Weakness: CWE-122

Which versions are affected by CVE-2025-57107?

1 open source package ship an affected version, including vtk. It affects 1 product.

PackageAffectedFixed in
vtk PyPIAll versions9.5.1

Products include Vtk Vtk.

How do I fix CVE-2025-57107?

Upgrade vtk to 9.5.1 or later.

Upgrade to the fixed version. Memory-safe languages, compiler hardening and fuzzing prevent most new cases. More about Memory corruption.

Is CVE-2025-57107 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-57107 exists.

Sources

Also known as DEBIAN-CVE-2025-57107, GHSA-6hj2-fxwr-rvj5, PYSEC-2025-225, UBUNTU-CVE-2025-57107.

Is CVE-2025-57107 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free