SB2026040871 - Inefficient regular expression complexity in gotenberg
Published: April 8, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 security vulnerability.
1) Inefficient regular expression complexity (CVE-ID: CVE-2026-35458)
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to inefficient regular expression complexity in the extraHttpHeaders scope pattern handling in gotenberg/pkg/modules/chromium/routes.go when processing user-supplied scope patterns. A remote attacker can send a specially crafted request containing a malicious scope pattern to cause a denial of service.
Exploitation can hang a worker indefinitely through catastrophic backtracking, and affects instances where the attacker can reach the /forms/chromium/screenshot/url endpoint and specify the extraHttpHeaders field.
Remediation
Install update from vendor's website.