{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.11.7"
              },
              {
                "introduced": "2.12.0"
              },
              {
                "fixed": "2.12.5"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "8711320065405c4bb08aaccd4bd2881450b5ce41"
            },
            {
              "introduced": "5e9b167dce73bd6a804ab107ae4c4b95e6849597"
            },
            {
              "fixed": "e189e9945317ad4c8603fa2300d11d11f5e2e335"
            }
          ],
          "repo": "https://github.com/gnome/libxml2",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "libxml2"
              },
              {
                "fixed": "2.11.7"
              },
              {
                "introduced": "2.12.x"
              },
              {
                "fixed": "2.12.5"
              }
            ],
            "source": "DESCRIPTION"
          },
          "events": [
            {
              "introduced": "4b637079f26d8f5879ed45eb18cd249cad261951"
            },
            {
              "fixed": "8711320065405c4bb08aaccd4bd2881450b5ce41"
            },
            {
              "introduced": "5e9b167dce73bd6a804ab107ae4c4b95e6849597"
            },
            {
              "fixed": "e189e9945317ad4c8603fa2300d11d11f5e2e335"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/libxml2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25062.json"
  },
  "details": "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.",
  "id": "CVE-2024-25062",
  "modified": "2026-07-15T01:49:02.561664785Z",
  "published": "2024-02-04T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gitlab.gnome.org/GNOME/libxml2/-/tags"
    },
    {
      "type": "WEB",
      "url": "https://lists.debian.org/debian-lts-announce/2025/02/msg00028.html"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/25xxx/CVE-2024-25062.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-25062"
    },
    {
      "type": "ADVISORY",
      "url": "https://security.netapp.com/advisory/ntap-20241018-0009/"
    },
    {
      "type": "REPORT",
      "url": "https://gitlab.gnome.org/GNOME/libxml2/-/issues/604"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
      "type": "CVSS_V3"
    }
  ]
}