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.
References10
- github.com/python/cpython/commit/6b505d1f41f8f3ea0fe5a4786d3a8f…
- github.com/python/cpython/commit/90748760d38ca3ac5fc6788a69beca…
- github.com/python/cpython/commit/991224b1e8311c85f198f6dd8208bf…
- github.com/python/cpython/commit/ba785b88add96acbf403d65cb157fb…
- github.com/python/cpython/commit/c5512bd7c1dc280556605652750127…
- github.com/python/cpython/commit/d3ab945af25b28dfe13ac6cb40c124…
- github.com/python/cpython/commit/db744c0776c1d5dd11aaa70eff2a69…
- github.com/python/cpython/commit/e322a1857084d521f79f45181b776f…
- github.com/python/cpython/issues/149079
- github.com/python/cpython/pull/149080
Metrics
- CVSS 4.0
-
6.3
MEDIUM
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/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 - EPSS — exploit probability
- 1% percentile: 44 · as of 15 November 2026
- CWE
- CWE-407
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.