#VU125317 Inefficient regular expression complexity in gotenberg - CVE-2026-35458

 

#VU125317 Inefficient regular expression complexity in gotenberg - CVE-2026-35458

Published: April 8, 2026


Vulnerability identifier: #VU125317
Vulnerability risk: Medium
CVSSv4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-35458
CWE-ID: CWE-1333
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vulnerable software:
gotenberg
Software vendor:
thecodingmachine

Description

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 security update from vendor's website.

External links