High severity7.5GHSA Advisory· Published Aug 25, 2022· Updated Jun 17, 2026
CVE-2021-42521
CVE-2021-42521
Description
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
vtkPyPI | < 9.0.1 | 9.0.1 |
Affected products
2Patches
Vulnerability mechanics
References
7- gitlab.kitware.com/vtk/vtk/issues/17818nvdExploitIssue TrackingThird Party AdvisoryWEB
- github.com/advisories/GHSA-xfhg-9pjg-xg7gghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2021-42521ghsaADVISORY
- discourse.vtk.org/t/vtk-9-2-5-is-out/10549nvdWEB
- github.com/pypa/advisory-database/tree/main/vulns/vtk/PYSEC-2022-255.yamlghsaWEB
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLKghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/nvd
News mentions
0No linked articles in our index yet.