Skip to main content

Thumbor EUVDEUVD-2026-51610

| CVE-2026-53504 HIGH
Uncontrolled Resource Consumption (CWE-400)
2026-07-31 https://github.com/thumbor/thumbor GHSA-5vjc-7cxw-4w6j
7.5
CVSS 3.1 · Vendor: https://github.com/thumbor/thumbor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted HTTP GET to Thumbor endpoint
  2. Delivery
    Include malformed convolution filter with 30+ semicolon-separated values
  3. Exploit
    Python re.match enters exponential backtracking
  4. Execution
    Worker process CPU saturated
  5. Impact
    Image processing blocked for all concurrent requests

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource consumption limits
MITRE ATT&CK

1 technique across 1 tactic: Impact

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

The convolution filter is a built-in Thumbor filter that requires no non-default configuration to be enabled - it is present in all standard Thumbor deployments running affected versions. The attacker must be able to send an HTTP request to the Thumbor image processing endpoint, which is typically internet-facing by design. No authentication is required (PR:N per CVSS). Exploitation is limited by: (1) deployments using URL signing that block the /unsafe/ path can prevent anonymous exploitation, though any valid signed URL containing the malformed filter still triggers the bug; (2) deployments behind a WAF or reverse proxy with strict URL length or character-class filtering may reject the long semicolon-delimited payload; (3) multi-process Thumbor deployments will degrade rather than fully halt under a single attack request, requiring sustained requests to exhaust all workers. No specific platform, operating system, or non-default feature toggle is required to be vulnerable.

Impact

The CVSS 7.5 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) correctly characterizes this risk: the attack is network-reachable, requires zero authentication, and involves no complexity beyond constructing a URL. The availability impact is high because Python's GIL means a spinning regex match can monopolize a worker process. No EPSS data was provided in the input, so exploitation probability cannot be quantified from that signal. No KEV listing is present, meaning mass exploitation is not confirmed, but this is not reassuring given that a working PoC is embedded in the public GitHub Security Advisory and the attack vector is a plain HTTP GET. There is no conflicting signal between the CVSS vector and the description - network-accessible, unauthenticated filter string parsing is exactly what the convolution endpoint does. Multi-worker Thumbor deployments will degrade rather than fully halt under single-request attack, but a sustained burst of crafted requests can exhaust all workers. The low attack complexity and public PoC make this a genuine operational priority for any internet-facing Thumbor deployment.

Exploit ScenarioDerived

An attacker sends a single HTTP GET request such as GET /unsafe/0x0/smart/filters:convolution(-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11)/x.png to a public Thumbor instance running version 7.7.7 or earlier. Python's re.match enters catastrophic backtracking on the malformed convolution string (missing the required column-count argument), consuming 100% of the worker process CPU and blocking it indefinitely. Since the exact PoC payload is published in the GitHub Security Advisory, no exploit development skill is required.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
1 PoC candidate (unverified) Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 31, 2026

Denial of service in Thumbor's convolution image filter allows unauthenticated remote attackers to exhaust server processing capacity by submitting a crafted URL. Versions 7.7.7 and earlier contain a regular expression in the convolution filter parser whose subpattern (A;)*A causes Python's re module to exhibit exponential-time backtracking when the input is malformed (e.g., missing the required trailing column count). A public proof-of-concept is included in the GitHub Security Advisory, and no special configuration is required to trigger the flaw against a default Thumbor deployment. No CISA KEV listing exists at time of analysis, but the trivial exploitation path and public PoC make this a real priority for network-exposed instances.

RemediationAI

Upgrade to Thumbor 7.8.0 or later, available at https://github.com/thumbor/thumbor/releases/tag/7.8.0 (patch commit 3f38fe1610d20168e91f76d432212de30727eb2e). The fix rewrites the convolution filter regex to eliminate the ambiguous repetition group, resolving the backtracking without altering valid filter behavior. If immediate upgrade is not feasible, restrict HTTP access to the Thumbor service endpoint at the reverse proxy or firewall layer to trusted internal clients only - this eliminates the network-accessible attack vector but requires infrastructure changes and may not be practical for public imaging services. Alternatively, disable the convolution filter by removing or restricting it in the Thumbor filter pipeline configuration; note that this prevents all legitimate convolution-based image transformations. URL signing (disabling the /unsafe/ path) reduces but does not eliminate risk: a signed URL containing the malicious convolution filter string would still trigger backtracking. Do not rely on upstream timeout mechanisms as a primary control, as a per-worker block will still degrade throughput before any timeout fires.

Affected VersionsENISA

thumbor < 7.8.0

Affected Packages

pypi thumbor fix: 7.8.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in pypi

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Thumbor (pip/thumbor) is a Python smart imaging service that processes on-the-fly image transformations via URL-encoded filter strings. The convolution filter in thumbor/filters/convolution.py registers a BaseFilter regex to parse matrix parameters. The vulnerable pattern contains the subpattern ((?:[-]?[\d]+\.?[\d]*[;])*(?:[-]?[\d]+\.?[\d]*)), which structurally reduces to (A;)*A - a classic ambiguous repetition that causes catastrophic backtracking in Python's non-possessive re module when the engine must explore all possible ways to partition a long digit-semicolon sequence before determining a mismatch. This is a textbook CWE-400 (Uncontrolled Resource Consumption) instance: the evaluation site is thumbor/filters/__init__.py line 189. The fix, applied in commit 3f38fe16, replaces the pattern with the unambiguous possessive-equivalent -?\d+(?:\.\d*)?(?:;-?\d+(?:\.\d*)?)*, which eliminates the backtracking ambiguity.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (https://github.com/thumbor/thumbor) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Network-accessible filter parsing requires no auth or interaction; only availability is impacted via CPU exhaustion from regex backtracking.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (https://github.com/thumbor/thumbor).

CVSS VectorVendor: https://github.com/thumbor/thumbor

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

DescriptionCVE.org

Summary

The regular expression used to parse the convolution filter exhibits exponential-time backtracking for certain inputs, enabling a Regular Expression Denial of Service (ReDoS).

Details

The RegExp for convolution is defined as convolution\((?:\s*((?:[-]?[\d]+\.?[\d]*[;])*(?:[-]?[\d]+\.?[\d]*))\s*)(?:,\s*([\d]+)\s*)(?:,\s*([Tt]rue|[Ff]alse|1|0)\s*)?\). Within this expression a dangerous subpattern effectively behaves like (\d+)*,\d+.

PoC

A filter string containing many repeated values will exhaust re.match:

  • convolution(-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11)
  • http://localhost:8888/unsafe/0x0/smart/filters:convolution(-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11;-11)/x.png

The evaluation occurs on https://github.com/thumbor/thumbor/blob/master/thumbor/filters/__init__.py#L189.

Impact

A specially crafted URL will lead to denial of service, as new images won't be processed until re.match returns.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 24 pypi packages depend on thumbor (24 direct, 0 indirect)

Ecosystem-wide dependent count for version 7.8.0.

Latest POC

1 PoC candidate from github (unverified)

Sign in to open the public PoC links collected for this CVE.

Executive ViewAI

Why It Matters

Thumbor versions 7.7.7 and earlier can be remotely disabled by unauthenticated attackers, disrupting image delivery for web applications and services. The vulnerability is easily exploitable via a single network request, and proof-of-concept code is publicly available, making any internet-connected Thumbor instance a target. Organizations must patch or remove exposed deployments immediately to maintain service availability.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 74% exploitable
Prevalence
Medium
widely used Python image processing server in web stacks
Threat Intel
1
1 source
Social Media
2
Sightings
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
Poc
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

58
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy