{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "196edfb06a7458377d4d0f4b3cd41724c1f3bd4a"
            }
          ],
          "repo": "https://github.com/python/cpython",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "e0a8a6da90597a924b300debe045cdb4628ee1f3"
            }
          ],
          "repo": "https://github.com/python/cpython",
          "type": "GIT"
        },
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "eb0e8be3a7e11b87d198a2c3af1ed0eccf532768"
            }
          ],
          "repo": "https://github.com/python/cpython",
          "type": "GIT"
        }
      ]
    }
  ],
  "details": "When an Expat parser with a registered ElementDeclHandler parses an inline\ndocument type definition containing a deeply nested content model a C stack\noverflow occurs.",
  "id": "CVE-2026-4224",
  "modified": "2026-04-01T23:08:25.599354968Z",
  "published": "2026-03-16T18:16:10.070Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://mail.python.org/archives/list/security-announce@python.org/thread/5M7CGUW3XBRY7II4DK43KF7NQQ3TPZ6R/"
    },
    {
      "type": "WEB",
      "url": "http://www.openwall.com/lists/oss-security/2026/03/16/4"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/python/cpython/issues/145986"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/pull/145987"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3bd4a"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628ee1f3"
    },
    {
      "type": "FIX",
      "url": "https://github.com/python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf532768"
    }
  ],
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
      "type": "CVSS_V4"
    }
  ]
}