# CVE-2026-35458: Gotenberg has a ReDoS via extraHttpHeaders scope feature

- Severity: High 8.7 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-04-07T14:24:21.651Z
- Modified: 2026-06-25T19:56:12.045Z
- Also known as: GHSA-fmwg-qcqh-m992, GO-2026-5372
- Weaknesses: CWE-1333
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

Gotenberg is an API for converting document formats. In 8.29.1 and earlier, Gotenberg uses dlclark/regexp2 to compile user-supplied scope patterns without setting a proper timeout. Users with access to features using this logic can hang workers indefinitely.

(As written by CVE List.)

## Affected

- gotenberg gotenberg: <= 8.29.1
- github.com/gotenberg/gotenberg/v8 (Go): before 8.30.0
- github.com/gotenberg/gotenberg/v7 (Go): all versions
- thecodingmachine gotenberg: before 8.29.1

## Every score

- GitHub_M: CVSS:4.0 8.7 High `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`
- CISA-ADP: CVSS:3.1 9.8 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/gotenberg/gotenberg/security/advisories/GHSA-fmwg-qcqh-m992> (exploit, advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-35458> (advisory)
- <https://github.com/gotenberg/gotenberg/commit/cfb48d9af48cb236244eabe5c67fe1d30fb3fe25> (web)
- <https://github.com/gotenberg/gotenberg> (package)

## Sources

- CVE List: [CVE-2026-35458](https://www.cve.org/CVERecord?id=CVE-2026-35458), CVE Terms of Use, modified 2026-04-09
- GitHub Advisory Database: [GHSA-fmwg-qcqh-m992](https://github.com/advisories/GHSA-fmwg-qcqh-m992), CC-BY-4.0, modified 2026-06-25
- Go Vulnerability Database: [GO-2026-5372](https://pkg.go.dev/vuln/GO-2026-5372), CC-BY-4.0, modified 2026-06-25
- NVD: [CVE-2026-35458](https://nvd.nist.gov/vuln/detail/CVE-2026-35458), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-35458 · Whole record: https://cve.day/CVE-2026-35458.json · Rebuilt by cve.day 2026-11-25T22:59:18.103Z
