BIT-python-2026-3276: Potential DoS via quadratic complexity in unicodedata.normalize()
Published Jun 3, 2026
·Updated
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.
Affected Software
1 affected component
Python Software Foundation Python
Event History
Jun 3, 2026
CVE Published
via OSV·02:29 PM
Data Sourced
via OSV·02:29 PM
DescriptionSeverityWeakness
Frequently Asked Questions
1
Which application flows are most exposed to this issue?
Applications that pass attacker-controlled Unicode text to unicodedata.normalize() are exposed to CPU exhaustion. The problematic input uses long runs of combining characters with alternating Canonical Combining Class values.
2
Can switching to a different Unicode normalization form avoid the issue?
No. The issue affects all normalization forms.