Skip to main content
VulnerabilityPublished Updated

CVE-2026-0994: Semgrep · protobuf affected by a JSON recursion depth bypass

Affects semgrepSource GCVE Database

0
Compare
Authoritative record:CVE-2026-0994· High 8.2

Not known to be exploited · CVSS 8.2 High : upgrade to 1.151.0 soon.

Data as of 4 Dec 2026, 20:31 UTC

CVSS 4.0 base score
8.2High
How severe the flaw is on the 0–10 CVSS scale.
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:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 23 Jan 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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

ProductAffectedFixed in
Homebrewsemgreppkg:brew/semgrepOther threatsAffected
  • >=1.82.0 <1.151.0
Fixed in
  • 1.151.0
PyPIprotobufpkg:pypi/protobufOther threatsAffected
  • 6.30.0 – 6.33.4
  • >=6.30.0rc1 <6.33.5
20 affected builds
Fixed in
  • 6.33.5
PyPIprotobufpkg:pypi/protobufOther threatsAffected
  • <5.29.6
Fixed in
  • 5.29.6

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

Community reviews

Loading reviews…