We use these services and cookies to improve your user experience. You may opt out if you wish, however, this may limit some features on this site.
Please see our statement on Data Privacy.
The html.parser.HTMLParser class had worse-case quadratic complexity when processing certain crafted malformed inputs potentially leading to amplified denial-of-service.
Reserved 2025-06-13 | Published 2025-06-17 | Updated 2025-06-17 | Assigner PSFCWE-1333 Inefficient Regular Expression Complexity
Serhiy Storchaka
Jake Howard
sw0rd1ight
github.com/python/cpython/issues/135462
github.com/python/cpython/pull/135464
github.com/...ommit/4455cbabf991e202185a25a631af206f60bbc949
github.com/...ommit/6eb6c5dbfb528bd07d77b60fd71fd05d81d45c41
github.com/...ommit/d851f8e258c7328814943e923a7df81bca15df4b
mail.python.org/.../thread/K5PIYLR6EP3WR7ZOKKYQUWEDNQVUXOYM/
Support options