CVE-2026-77299

HIGH
MEDIUM Priority: 0.03 BB Relevance: 75/100
Published: 2026-11-06 Modified: 2026-11-12 First seen: 2026-11-06 Status: active

Attack Surface

Network Low Complexity No Auth No Interaction

CVSS Vector Breakdown

AV: Network
AC: Low
PR: None
UI: None
S: Unchanged
C: None
I: None
A: High

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.

Affected Software (2)

VendorProductVersion
dlclark regexp2 < 2.3.0
dlclark regexp2 < 2.3.0

Bug Bounty Relevance

75 / 100
✓ Network accessible
✓ No authentication
✓ Low complexity
✓ No user interaction

CVSS Score

7.5 / 10.0 v3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

EPSS — Exploitation Probability

0.35%
Raw Score 0.003460
Percentile 28.6%
Date 2026-11-13

EPSS Trend

2026-11-13
0.00346
2026-11-12
0.00346
2026-11-10
0.00346
2026-11-09
0.00346
2026-11-08
0.00346
2026-11-07
0.00346
2026-11-06
0.00346

Intelligence Sources

mitre ref →
nvd ref →