Skip to content
OpenAdvisories
High · 7.5 CVE-2021-42521 EUVD-2022-0352GHSA-xfhg-9pjg-xg7gPYSEC-2022-255

VTK NULL pointer dereference vulnerability

Published Aug 25, 2022 · Updated Aug 4, 2024 · Assigned by fedora

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 products

VendorProductAffectedFixed
— vtk VTK - 9.0.0 and before —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 vtk9 9.1.0+really9.1.0+dfsg2-8 —
Debian 13 vtk9 9.1.0+really9.1.0+dfsg2-8 —
Debian 12 vtk9 No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 24.04 LTS vtk9 No fix yet —
Ubuntu 22.04 LTS vtk7 +1 No fix yet —
Ubuntu 20.04 LTS vtk6 +1 No fix yet —
Ubuntu 18.04 LTS vtk6 +1 No fix yet —
Ubuntu 14.04 LTS vtk6 No fix yet —
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu Pro 16.04 LTS vtk +1 No fix yet —
Ubuntu Pro 14.04 LTS vtk No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI vtk < 9.0.1 9.0.1 GHSA-xfhg-9pjg-xg7g

References