CVE-2026-77299
published high CVSS 3.1 · 7.5Regexp2: Unbounded memory amplification via large `{m}` quantifier on a zero-width subexpression
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| dlclark | — | regexp2< 2.3.0 | Affected | Not stated | GitHub_M |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cliaarch64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clippc64le | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clis390x | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-clix86_64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionaarch64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionppc64le | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completions390x | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
Show 5 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-bash-completionx86_64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionaarch64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionppc64le | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completions390x | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | argocd-cli-zsh-completionx86_64 | Advisory build | 3.6.2-1.1 | OPENSUSE-SU-2026:12604-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| dlclark | regexp2 | < 2.3.0 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-400 CWE-400: Uncontrolled Resource Consumption
- CWE-770 CWE-770: Allocation of Resources Without Limits or Throttling
References
3Provider assertions
2GitHub_M · cna
Regexp2: Unbounded memory amplification via large `{m}` quantifier on a zero-width subexpression
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- a344fa606248833ec152832f3c6a8c7fc0925cb2fb146e73d3799dffedec4ff2
- Ingested
- 07 Nov 2026, 23:48:02 UTC
- Source record
- Official CVE record