Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-87722— Regular Expression Denial of Service (ReDoS) in Search Query Predicates and REST Filter Endpoints in Gerrit Code Review

Quick assessment

Affected
Gerrit Gerrit
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Gerrit Code Review 版本 2.1.6 至 3.12.9、3.13.0 至 3.13.8 以及 3.14.0 至 3.14.2 中存在不受控的资源消耗漏洞(CWE-400 / CWE-1333)。该漏洞涉及正则搜索查询谓词(如 RegexProjectPredicate、RegexRefPredicate、RegexPathPredicate 及其兄弟谓词)和 REST 正则过滤端点(RegexListSearcher /projects/?r= 以及 RefFilter /projects/{pr

CVSS 8.7 · High EPSS 0.32% · P25

Possible ATT&CK Techniques 1 AI

T1496 · Resource Hijacking

Affected Version Matrix 3

VendorProduct Version RangeStatus
Gerrit Gerrit 2.1.6< 3.12.10 affected
3.13.0< 3.13.9 affected
3.14.0< 3.14.3 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-87722

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Regular Expression Denial of Service (ReDoS) in Search Query Predicates and REST Filter Endpoints in Gerrit Code Review
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Gerrit Gerrit 2.1.6 ~ 3.12.10 -

II. Public POCs for CVE-2026-87722

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-87722

请登录查看更多情报信息。

Vendor Advisories for CVE-2026-87722 (1)

Same Patch Batch · Gerrit · 2026-09-24 · 3 CVEs total

CVE-2026-87721 8.7 HIGH Denial of Service via Exponential Backtracking in ANTLR Search Query Parser in Gerrit Code
CVE-2026-87720 7.6 HIGH Incorrect Authorization via Stale ProjectCache Eviction and Repeated .git Suffixes in Gerr

IV. Related Vulnerabilities