PT-2026-30852 · Unknown+1 · Dlclark/Regexp2+1
Beryxz
+1
·
Published
2026-04-07
·
Updated
2026-04-07
·
CVE-2026-35458
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions
Gotenberg versions 8.29.1 and earlier
Description
Gotenberg uses the
dlclark/regexp2 library to compile user-supplied scope patterns without a timeout. This allows users with access to features utilizing this logic to potentially hang workers indefinitely. Specifically, the /forms/chromium/screenshot/url API endpoint is vulnerable. Attackers can craft a malicious scope pattern within the extraHttpHeaders form field, using nested quantifiers that cause infinite backtracking (ReDoS), leading to a denial-of-service condition. The vulnerable code is located in gotenberg/pkg/modules/chromium/routes.go:200.Recommendations
Gotenberg versions prior to 8.29.1 should be updated.
Fix
DoS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Gotenberg
Dlclark/Regexp2