Vulnerability

CVE-2026-4224

mediumCVSS 4.0 6.0Published 16 Mar 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

When an Expat parser with a registered ElementDeclHandler parses an inline document type definition containing a deeply nested content model a C stack overflow occurs.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Python python

Weakness type

References

  • github.com /python/cpython/commit/196edfb06a7458377d4d0f4b3cd41724c1f3…
  • github.com /python/cpython/commit/24ce88b285f56ee11626cf5e472af3cd8cc7…
  • github.com /python/cpython/commit/642865ddf4b232da1f3b1f7abcfa3254c4bf…
  • github.com /python/cpython/commit/af856a7177326ac25d9f66cc6dd28b554d91…
  • github.com /python/cpython/commit/e0a8a6da90597a924b300debe045cdb4628e…
  • github.com /python/cpython/commit/eb0e8be3a7e11b87d198a2c3af1ed0eccf53…
  • github.com /python/cpython/issues/145986
  • github.com /python/cpython/pull/145987
  • mail.python.org /archives/list/security-announce@python.org/thread/5M7CGUW3…
  • www.openwall.com /lists/oss-security/2026/03/16/4

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning