CVE-2021-42521

Published Aug 25, 2022 CVSS 3.1 · 7.5 High EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2022-0352 There is a NULL pointer dereference vulnerability in VTK, 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.
Github GHSA Github GHSA GHSA-xfhg-9pjg-xg7g VTK NULL pointer dereference vulnerability
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
fedora
Published
Updated
Aug 4, 2024, 3:30 AM
Reserved
Oct 15, 2021, 12:00 AM
Status
Modified
Published
Aug 25, 2022, 6:15 PM
Modified
Jun 17, 2026, 4:09 AM