Advisory Database
  • Advisories
  • Dependency Scanning
  1. conan
  2. ›
  3. xerces-c
  4. ›
  5. CVE-2024-23807

CVE-2024-23807: Use After Free

February 28, 2024 (updated August 20, 2025)

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.

References

  • gitlab.com/gitlab-org/security-products/gemnasium-db/-/issues/322
  • nvd.nist.gov/vuln/detail/cve-2024-23807

Code Behaviors & Features

Detect and mitigate CVE-2024-23807 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.0.0 before 3.2.5

Fixed versions

  • 3.2.5

Solution

Upgrade to version 3.2.5 or higher.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-416: Use After Free

Source file

conan/xerces-c/CVE-2024-23807.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 Aug 2025 00:19:40 +0000.