Inefficient regular expression complexity in Bleach - #VU133465
Published: June 8, 2026
Bleach
Detailed vulnerability description
The vulnerability allows a remote user to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in LinkifyFilter.handle_email_addresses() and EMAIL_RE processing in bleach/linkifier.py when parsing attacker-controlled text with email linkification enabled. A remote user can submit specially crafted text to cause a denial of service.
Only applications that enable parse_email=True on untrusted text are affected.