{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "cpe": "cpe:2.3:a:xmlsoft:libxml2:*:*:*:*:*:*:*:*",
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.11.0"
                  }
                ],
                "source": "CPE_RANGE"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "f296934ade688baab79caf1c62a82149ad78accf"
            }
          ],
          "repo": "https://github.com/gnome/libxml2",
          "type": "GIT"
        },
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "2.0.0"
                  },
                  {
                    "fixed": "2.11.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "5a19e21605398cef6a8b1452477a8705cb41562b"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              }
            ]
          },
          "events": [
            {
              "introduced": "5d211f4c7a150e45a301cec55426a7ed7edb7f50"
            },
            {
              "fixed": "f296934ade688baab79caf1c62a82149ad78accf"
            },
            {
              "fixed": "5a19e21605398cef6a8b1452477a8705cb41562b"
            }
          ],
          "repo": "https://gitlab.gnome.org/gnome/libxml2",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "cwe_ids": [
      "CWE-416"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49043.json"
  },
  "details": "xmlXIncludeAddNode in xinclude.c in libxml2 before 2.11.0 has a use-after-free.",
  "id": "CVE-2022-49043",
  "modified": "2026-10-28T02:31:13.041560613Z",
  "published": "2025-01-26T00:00:00Z",
  "references": [
    {
      "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/2022/49xxx/CVE-2022-49043.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-49043"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/php/php-src/issues/17467"
    },
    {
      "type": "FIX",
      "url": "https://gitlab.gnome.org/GNOME/libxml2/-/commit/5a19e21605398cef6a8b1452477a8705cb41562b"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ]
}