CVE-2026-145193
Received Received - Intake

Bleach linkify() Quadratic Backtracking DoS

Vulnerability report for CVE-2026-145193, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-12-04

Last updated on: 2026-12-04

Assigner: VulnCheck

Description

Mozilla Bleach through 6.4.0 contains an inefficient regular expression vulnerability in the URL_RE 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-12-04
Last Modified
2026-12-04
Generated
2026-12-04
AI Q&A
2026-12-04
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
Mozilla Bleach From 0 (inc) to 6.4.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-1333 The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

Mozilla Bleach through version 6.4.0 has a flaw in its URL_RE regular expression used by the linkify() function. The issue involves inefficient pattern matching that can lead to quadratic backtracking. Attackers exploit this by sending long text with repeated word characters without valid URLs, causing excessive CPU usage and potentially tying up server resources.

Detection Guidance

Detecting this vulnerability requires checking if Mozilla Bleach versions before 6.4.1 are installed. Inspect Python package versions using commands like pip show bleach or pip list | grep bleach. Monitor system logs for unusually high CPU usage during text processing tasks.

Impact Analysis

This vulnerability can cause denial of service by consuming significant CPU resources during processing. If exploited repeatedly, it may degrade application performance, slow down servers, or crash services that rely on Bleach for HTML sanitization or link processing.

Mitigation Strategies

Upgrade Mozilla Bleach to version 6.4.1 or later immediately. If upgrading is not possible, disable the linkify() function or implement input length restrictions to prevent long text submissions. Review and update any applications using Bleach for similar regex vulnerabilities.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-145193. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...