Use After Free The advisory has been revoked - it doesn't affect any version of package gdcm  (opens in a new tab)


Threat Intelligence

EPSS
1.77% (77th 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-UBUNTU1604-GDCM-3024608
  • published15 Apr 2026
  • disclosed14 Sept 2022

Introduced: 14 Sep 2022

CVE-2022-40674  (opens in a new tab)
CWE-416  (opens in a new tab)

Amendment

The Ubuntu security team deemed this advisory irrelevant for Ubuntu:16.04.

NVD Description

Note: Versions mentioned in the description apply only to the upstream gdcm package and not the gdcm package as distributed by Ubuntu.

libexpat before 2.4.9 has a use-after-free in the doContent function in xmlparse.c.

References