7.5

CVE-2026-77299: Regexp2: Unbounded memory amplification via large `{m}` quantifier on a zero-width subexpression

Awaiting analysis
AliasesDEBIAN-CVE-2026-77299UBUNTU-CVE-2026-77299RHSA-2026:97885
Published 06-11-2026Last modified 06-11-2026

Vulnerability summary

CVE-2026-77299 is a high (CVSS 7.5) Uncontrolled Resource Consumption vulnerability in dlclark regexp2. EPSS estimates a 0.51% chance of exploitation in the next 30 days, higher than 45.3% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

Source freshness unavailable

How is this decided?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
0.51%
0%100%
Low · Change unavailable
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 06-11-2026
    PublishedVulnerability first disclosed.
  2. 06-11-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.51%

Chance of exploitation in the next 30 days

Percentile

45%

Versus all other CVEs

30-day change

Change unavailable

Change unavailable

06-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.

Redhat5 products
  • hugo< 0:0.169.0-0.2.hum1
  • loki3.6< 0:3.6.20-0.2.hum1
  • loki3.6-canary< 0:3.6.20-0.2.hum1
  • loki3.6-logcli< 0:3.6.20-0.2.hum1
  • trivy< 0:0.76.1-0.3.hum1
Debian1 product
  • golang-github-dlclark-regexp2All versions (No fix recorded) | < 1.11.0+ds1-2
Dlclark1 product
Opensuse1 product
  • argocd-cli&distro=openSUSE Tumbleweed< 3.6.2-1.1
Ubuntu1 product
  • golang-github-dlclark-regexp2All versions (No fix recorded)

5 vendors · 9 products

References

19 links
Show all 19 references