{"id":"CVE-2021-42521","published":"2022-08-25T00:00:00Z","modified":"2024-08-04T03:30:38Z","title":"There is a NULL pointer dereference vulnerability in VTK before 9.2.5, and it lies in IO/Infovis/vtkXMLTreeReader.cxx","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01355,"percentile":0.72302,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://gitlab.kitware.com/vtk/vtk/issues/17818","tags":[]},{"url":"https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549","tags":[]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/","tags":["vendor-advisory"]}],"priority":{"score":14.5,"factors":[{"name":"EPSS percentile","points":14.46}]},"affectedVersions":[{"vendor":"n/a","product":"vtk","versions":["VTK - 9.0.0 and before"]}],"affected":[{"ecosystem":"PyPI","package":"vtk","vulnerableRanges":["<9.0.1"],"patched":["9.0.1"],"from":["GHSA-xfhg-9pjg-xg7g","PYSEC-2022-255"],"provenance":"source"}],"summary":{"text":"The VTK library before 9.2.5 contains a NULL pointer dereference in IO/Infovis/vtkXMLTreeReader.cxx, where the return value of the libxml2 function xmlDocGetRootElement is used without being checked. An attacker can trigger a crash of the application that loads the affected data.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:50:04Z"},"euvd":{"id":"EUVD-2022-0352","exploited":false,"provenance":"source"}}