CVE-2021-42521

Summary

CVECVE-2021-42521
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-08-25 18:15:00 UTC
Updated2023-11-07 03:39:00 UTC
DescriptionThere 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.

Risk And Classification

Problem Types: CWE-476

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Vtk Vtk All All All All

References

ReferenceSourceLinkTags
Potential NULL pointer dereference : forgetting to check the return value of libxml2 API xmlDocGetRootElement (#17818) · Issues · VTK / VTK · GitLab MISC gitlab.kitware.com
[SECURITY] Fedora 37 Update: vtk-9.1.0-18.fc37 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
VTK 9.2.5 is out - Announcements - VTK CONFIRM discourse.vtk.org
[SECURITY] Fedora 37 Update: vtk-9.1.0-18.fc37 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 283972 Fedora Security Update for vtk (FEDORA-2023-2cf9dd7d52)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report