CVE-2026-87722

Regular Expression Denial of Service (ReDoS) in Search Query Predicates and REST Filter Endpoints in Gerrit Code Review

HIGH
8.7
CVSS Score
Published: September 24, 2026 at 10:03 PM UTC
Updated: September 25, 2026 at 05:17 PM UTC
1 product affected across 1 vendorGerrit

Using Gerrit by Gerrit?

Get instant alerts when new vulnerabilities affect Gerrit - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.7
Exploit prediction
EPSS 0.3%
SSVC
PoC

Description

Uncontrolled Resource Consumption (CWE-400 / CWE-1333) in regex search query predicates (such as RegexProjectPredicate, RegexRefPredicate, RegexPathPredicate, and sibling predicates) and REST regex filter endpoints (RegexListSearcher /projects/?r= and RefFilter /projects/{project}/branches/?r=) in Gerrit Code Review versions 2.1.6 through 3.12.9, 3.13.0 through 3.13.8, and 3.14.0 through 3.14.2 allows an unauthenticated remote attacker (or an authenticated user if anonymous read access is disabled) to cause a denial of service (CPU starvation and JVM heap exhaustion / OutOfMemoryError) via crafted search queries or REST API requests containing regular expressions with large counted repetitions or exponential DFA determinization patterns. Because the user-supplied regular expression is compiled into an unbounded dk.brics.automaton instance (new RegExp(re).toAutomaton()) on the request thread prior to index evaluation or access control visibility filtering, trivial queries can exhaust JVM heap or pin request threads regardless of heap size. This issue is fixed in Gerrit Code Review versions 3.12.10, 3.13.9, and 3.14.3.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.1.6 ≤ v < 3.12.103.13.0 ≤ v < 3.13.93.14.0 ≤ v < 3.14.32.1.63.13.03.14.0
Affected range stops below 3.12.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.13.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 3.14.3, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.7HIGHGoogle
Vector?

Quick Info

StatusAWAITING ANALYSIS
CWE
CWE-400CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card