Uncontrolled Recursion Affecting python package, versions [,3.13.13)[3.14.0-a1,3.14.4)[3.15.0-a1,3.15.0-a8)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.69% (51st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-PYTHON-15674493
  • published17 Mar 2026
  • disclosed16 Mar 2026
  • creditUnknown

Introduced: 16 Mar 2026

CVE-2026-4224  (opens in a new tab)
CWE-674  (opens in a new tab)

How to fix?

Upgrade python to version 3.13.13, 3.14.4, 3.15.0-a8 or higher.

Overview

Affected versions of this package are vulnerable to Uncontrolled Recursion in the conv_content_model() function when parsing an inline document type definition containing a deeply nested content model. An attacker can cause a stack overflow and crash the process by providing specially crafted XML input with excessive nesting.

CVSS Base Scores

version 4.0
version 3.1