CVEvulnerability
CVE-2021-42521
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2022-08-25
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400, CWE-476
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.
Affected configurations
• vtk vtk (<= 9.0.0)
Related
References
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549 discourse.vtk.org
- https://gitlab.kitware.com/vtk/vtk/issues/17818 Exploit, Issue Tracking, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/ lists.fedoraproject.org
- https://discourse.vtk.org/t/vtk-9-2-5-is-out/10549 discourse.vtk.org
- https://gitlab.kitware.com/vtk/vtk/issues/17818 Exploit, Issue Tracking, Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PCTMSAAVP4BW2HTZLDWMGKZ2WEC5OFLK/ lists.fedoraproject.org