NULL Pointer Dereference Affecting vtk9 package, versions <9.1.0+really9.1.0+dfsg2-8


Severity

Recommended
0.0
high
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
1.36% (72nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-ECHOLATEST-VTK9-22113846
  • published1 Nov 2026
  • disclosed25 Aug 2022

Introduced: 25 Aug 2022

CVE-2021-42521  (opens in a new tab)
CWE-476  (opens in a new tab)

How to fix?

Upgrade Echo:latest vtk9 to version 9.1.0+really9.1.0+dfsg2-8 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream vtk9 package and not the vtk9 package as distributed by Echo. See How to fix? for Echo:latest relevant fixed versions and status.

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.

CVSS Base Scores

version 3.1