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


Threat Intelligence

EPSS
1.76% (76th 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-RHEL9-EXPAT-11180003
  • published29 Jul 2025
  • disclosed14 Sept 2022

Introduced: 14 Sep 2022

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

Amendment

The Red Hat security team deemed this advisory irrelevant for RHEL:9.

NVD Description

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

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

References