CVE-2026-145193: Mozilla Bleach through 6.4.0 ReDoS via linkify() URL_RE
Mozilla Bleach through 6.4.0 contains an inefficient regular expression vulnerability in the URLRE pattern used by linkify() that allows remote attackers to cause denial of service through quadratic backtracking. Attackers can submit long text containing runs of word characters without a valid URL to consume seconds of CPU per call and tie up worker processes.
Affected Software
Event History
Frequently Asked Questions
Which deployments are exposed?
Deployments using the PyPI bleach package through version 6.4.0 are exposed when they call linkify() on text that can be supplied by remote attackers.
What input is needed to trigger the issue?
An attacker can submit long text containing runs of word characters that do not form a valid URL. This input causes quadratic regular-expression backtracking in the URL_RE pattern used by linkify().
Does exploitation require authentication or user interaction?
No. The supplied vector is network-accessible, with no privileges required and no user interaction required.
What is the operational impact of a successful attack?
Each triggering call can consume seconds of CPU time. Repeated requests can tie up worker processes and cause denial of service.
How can I determine whether an application is affected?
Check whether it uses bleach through 6.4.0 and invokes linkify() on untrusted or remotely submitted text. Applications that do not call linkify() are not described as reaching the vulnerable URL_RE use.