CVE-2026-77299dlclark regexp2
High 7.5 No auth needed
Follow: this CVE · dlclark · dlclark regexp2 We alert you by email or Slack (account required).
- Priority
- 60
- CVSS 3.1
- 7.5
- EPSS
- —
- Auth required
- No
- Published
- Nov 6, 2026
- Updated
- Nov 12, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
What happens
Regexp2 is a feature-rich RegExp engine for Go. Prior to version 2.3.0, when regexp2 compiles and matches a pattern containing a large fixed-count quantifier applied to a zero-width subexpression — e.g. (?:){50000000} — the match engine executes the empty loop body m-1 times, pushing two integers onto the backtracking stack on every iteration. Because the parser accepts any repetition count up to math.MaxInt32 and the backtracking stack grows without bound, a pattern of fewer than 20 bytes matched against an empty input can force multi-gigabyte allocation and OOM-kill the process. MatchTimeout does not fully mitigate this because the memory is allocated faster than the 100 ms timeout clock can fire. This issue has been patched in version 2.3.0.
What to do
- Apply the vendor's security update for regexp2.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products
- dlclark · regexp2
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- argocd-cli-3.6.2-1.1 on GA media · SUSE · openSUSE-SU-2026:12604-1 · Nov 19, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:99590 · Nov 13, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:97885 · Nov 13, 2026 High
- Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update · Red Hat · RHSA-2026:98019 · Nov 13, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.