Findings

CVE-2024-25062

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5.

Published Feb 4, 2024 · updated Oct 15, 2026 · xmlsoft libxml2

An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

Code

The project this record applies to. Exploit listings stay in References.

No public source repository is identified for this product.

Timeline

Detection, updates, and resolution for this record.

  1. Feb 4, 2024 · NIST NVD

    Detected

    An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

  2. Oct 15, 2026 · NIST NVD

    Updated

    An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

Affected

  • cpe xmlsoft/libxml2version unspecified

Sources

  • CVE.orgVulnerability recordCVE-2024-25062

    Official CVE identifier

    cve.org
  • FIRST EPSSExploitation probabilityCVE-2024-25062

    30-day exploitation probability 1.3%

    first.org
  • NIST NVDVulnerability recordCVE-2024-25062

    An issue was discovered in libxml2 before 2.11.7 and 2.12.x before 2.12.5. When using the XML Reader interface with DTD validation and XInclude expansion enabled, processing crafted XML documents can lead to an xmlValidatePopElement use-after-free.

    nvd.nist.gov

References

CVE-2024-25062 · ZeroDay Findings