Use After Free Affecting xerces-c-3.2.3 package, versions <3.2.3+e1


Severity

Recommended
0.0
critical
0
10

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

Threat Intelligence

EPSS
1.48% (75th 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-XERCESC323-21368076
  • published21 Oct 2026
  • disclosed29 Feb 2024

Introduced: 29 Feb 2024

CVE-2024-23807  (opens in a new tab)
CWE-416  (opens in a new tab)

How to fix?

Upgrade Echo:latest xerces-c-3.2.3 to version 3.2.3+e1 or higher.

NVD Description

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

The Apache Xerces C++ XML parser on versions 3.0.0 before 3.2.5 contains a use-after-free error triggered during the scanning of external DTDs.

Users are recommended to upgrade to version 3.2.5 which fixes the issue, or mitigate the issue by disabling DTD processing. This can be accomplished via the DOM using a standard parser feature, or via SAX using the XERCES_DISABLE_DTD environment variable.

This issue has been disclosed before as CVE-2018-1311, but unfortunately that advisory incorrectly stated the issue would be fixed in version 3.2.3 or 3.2.4.

CVSS Base Scores

version 3.1