6.3Medium

CVE-2026-3276Potential DoS via quadratic complexity in unicodedata.normalize()

Python Software Foundation CPython Published: (5 months ago)

Description

unicodedata.normalize() can take excessive CPU time when processing specially crafted Unicode input containing long runs of combining characters with alternating Canonical Combining Class values. This affects all normalization forms.

Weakness (CWE): CWE-407

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
Python Software Foundation CPython < 3.10.21, 3.11.0 – < 3.11.16, 3.12.0 – < 3.12.14, 3.13.0 – < 3.13.14, 3.14.0 – < 3.14.6, 3.15.0a1 – < 3.15.0b2

References and patches