CVE-2026-0994: Semgrep · protobuf affected by a JSON recursion depth bypass
Affects semgrepSource GCVE Database
Not known to be exploited · CVSS 8.2 High : upgrade to 1.151.0 soon.
Data as of 4 Dec 2026, 20:31 UTC
- Patch
- Available – fixed in 1.151.0, 6.33.5, 5.29.6
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:LExploitation evidence
Disclosed: evidence found.
CVE published 23 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade semgrep to 1.151.0; protobuf to 6.33.5; protobuf to 5.29.6.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewsemgreppkg:brew/semgrepOther threats | Affected
| Fixed in
|
PyPIprotobufpkg:pypi/protobufOther threats | Affected
| Fixed in
|
PyPIprotobufpkg:pypi/protobufOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch is available in Semgrep version 1.151.0 that fixes this vulnerability by properly accounting for recursion depth in the Any-handling logic. Users should upgrade to version 1.151.0 or later to remediate this issue. No other mitigation steps are indicated.
Description
CVE-2026-0994 is a denial-of-service vulnerability in the Python google.protobuf.json_format.ParseDict() function used by Semgrep. The flaw allows bypassing the max_recursion_depth limit when parsing deeply nested google.protobuf.Any messages, leading to exhaustion of Python's recursion stack and a RecursionError. This affects Semgrep versions from 1.82.0 up to but not including 1.151.0. The issue has been fixed in version 1.151.0.
References
- nvd.nist.gov/vuln/detail/CVE-2026-0994 (opens in a new tab)
- github.com/protocolbuffers/protobuf/issues/25070 (opens in a new tab)
- github.com/protocolbuffers/protobuf/pull/25239 (opens in a new tab)
- github.com/protocolbuffers/protobuf/commit/5ebddcb1bcbe51d1fe323baa145e85f4f23128cf (opens in a new tab)
- github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b (opens in a new tab)
- github.com/protocolbuffers/protobuf (opens in a new tab)