PSF-2026-25: 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

Does exploitation require authentication or user interaction?

The CVSS vector indicates network attackability with no privileges required and no user interaction required. Exploitation depends on supplying specially crafted Unicode input to code that performs normalization.

2

Which normalization modes are affected?

All Unicode normalization forms are affected.

3

What input should be treated as potentially abusive?

Inputs containing long runs of combining characters with alternating Canonical Combining Class values can trigger excessive CPU use during normalization.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203