Skip to main content

Regexp2

1 CVEs product

Monthly

CVE-2026-77299 Nov 06, 01:28 HIGH PATCH This Week

Memory exhaustion denial of service in the Go regexp2 regular expression engine affects every release prior to 2.3.0 when an application compiles a pattern controlled or influenced by an attacker. A sub-20-byte pattern such as (?:){50000000} that applies a very large fixed-count quantifier to a zero-width subexpression causes the matcher to allocate hundreds of megabytes to tens of gigabytes while running against an empty input, OOM-killing the process; the upstream advisory reproduces roughly 2.5 GiB of allocation and ~3 seconds of CPU from a 14-byte pattern. Exploitation requires that the attacker control the pattern rather than the haystack, and applications that only compile hard-coded patterns are unaffected. The upstream advisory includes a public proof-of-concept; no CISA KEV entry or confirmed in-the-wild exploitation is indicated in the available data.

Denial Of Service Regexp2
NVD GitHub
CVSS 3.1
7.5
EPSS
0.3%
EPSS 0% CVSS 7.5
HIGH PATCH This Week

Memory exhaustion denial of service in the Go regexp2 regular expression engine affects every release prior to 2.3.0 when an application compiles a pattern controlled or influenced by an attacker. A sub-20-byte pattern such as (?:){50000000} that applies a very large fixed-count quantifier to a zero-width subexpression causes the matcher to allocate hundreds of megabytes to tens of gigabytes while running against an empty input, OOM-killing the process; the upstream advisory reproduces roughly 2.5 GiB of allocation and ~3 seconds of CPU from a 14-byte pattern. Exploitation requires that the attacker control the pattern rather than the haystack, and applications that only compile hard-coded patterns are unaffected. The upstream advisory includes a public proof-of-concept; no CISA KEV entry or confirmed in-the-wild exploitation is indicated in the available data.

Denial Of Service Regexp2
NVD GitHub

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy