{"cve":"CVE-2021-42521","nvd":{"published":"2022-08-25T18:15:09.140","modified":"2026-06-17T04:09:45.497","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-476","CWE-400"],"references":["https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","https://gitlab.kitware.com/vtk/vtk/issues/17818","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/","https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","https://gitlab.kitware.com/vtk/vtk/issues/17818"],"products":["vtk:vtk"],"source":"nvd","synced_at":"2026-10-19T21:35:14.992143698+00:00"},"epss":{"cve":"CVE-2021-42521","score":0.01316,"percentile":0.70776,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-xfhg-9pjg-xg7g","url":"https://osv.dev/vulnerability/GHSA-xfhg-9pjg-xg7g","summary":"VTK NULL pointer dereference vulnerability","modified":"2024-11-18T23:23:24.066411Z","packages":[{"ecosystem":"PyPI","name":"vtk","purl":"pkg:pypi/vtk","ranges":["<9.0.1"],"fixed":["9.0.1"]}]},{"id":"PYSEC-2022-255","url":"https://osv.dev/vulnerability/PYSEC-2022-255","summary":"","modified":"2023-11-08T04:07:06.578141Z","packages":[{"ecosystem":"PyPI","name":"vtk","purl":"pkg:pypi/vtk","ranges":["<9.0.1"],"fixed":["9.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}