Skip to main content
← All vulnerabilities
CVE-2021-42521GHSA-XFHG-9PJG-XG7GPYSEC-2022-255

There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.1
None on Exploit-DB, Metasploit or GitHub

Summary

There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx. The vendor didn't check the return value of libxml2 API 'xmlDocGetRootElement', and try to dereference it. It is unsafe as the return value can be NULL and that NULL pointer dereference may crash the application.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a vtk

    Version range not reported

  • vtkPyPI

    fixed in 9.0.1

References 3

gitlab.kitware.com

discourse.vtk.org

lists.fedoraproject.org