CVE-2026-77299
Last modified
CVE-2026-77299 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| dlclark | regexp2 | < 2.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-77299?
How severe is CVE-2026-77299?
How do I fix CVE-2026-77299?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-77281Caddy is an extensible server platform that uses TLS by defa…6.5
- CVE-2026-77285OpenBao is an open source identity-based secrets management …2.4
- CVE-2026-7729A security flaw has been discovered in pixelsock directus-mc…6.3
- CVE-2026-77293TREK is a collaborative travel planner. Prior to 3.3.0, the …7.1
- CVE-2026-77294TREK is a collaborative travel planner. Prior to 3.3.0, TREK…8.1
- CVE-2026-77298SeaweedFS is a distributed storage system for files and blob…8.7
- CVE-2026-7730A weakness has been identified in privsim mcp-test-runner 0.…6.3
- CVE-2026-77301adm-zip is a JavaScript library for creating and extracting …7.5
- CVE-2026-7731A security vulnerability has been detected in code-projects …6.3
- CVE-2026-77310jackson-databind contains the general-purpose data-binding f…5.3
- CVE-2026-77317SeaweedFS is a distributed storage system for files and blob…8.1
- CVE-2026-7732A vulnerability was detected in code-projects BloodBank Mana…6.3
Are you affected by CVE-2026-77299?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
