CVE-2026-0994: Protobuf JSON Recursion Depth Bypass Vulnerability

protobuf Updated 23 Jan 2026

Summary

23/01/2026
No i
High
8.2

CVE-2026-0994: protobuf affected by a JSON recursion depth bypass. Affects protobuf versions < 6.33.4. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Protobuf, or Protocol Buffers, is a language-agnostic binary serialization format developed by Google. It is widely used for efficient data interchange between applications. The library provides support for various programming languages, including Python, and is known for its performance and ease of use. However, it is susceptible to certain vulnerabilities, including the JSON recursion depth bypass issue, which can lead to denial-of-service attacks.

Vulnerability Detail

A denial-of-service (DoS) vulnerability exists in the google.protobuf.json_format.ParseDict() function in Python. The vulnerability arises from a flaw in the internal handling of google.protobuf.Any messages, where the max_recursion_depth limit can be bypassed. This allows an attacker to supply deeply nested Any structures, which can exhaust Python's recursion stack and trigger a RecursionError. The lack of proper recursion depth accounting in the Any-handling logic is the root cause of this issue, making it a significant risk for applications relying on this functionality.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, you can limit the depth of nested structures when using the ParseDict function. However, this may not be a comprehensive solution and should only be used until the package is updated.

Conclusion

The CVE-2026-0994 vulnerability in the protobuf package poses a significant risk due to its potential for denial-of-service attacks. It is crucial to update to a patched version to mitigate this risk. Additionally, utilizing tools like Vulert can help monitor and manage vulnerabilities effectively.

See every vulnerability recorded for protobuf →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 8.2, indicating a high severity level.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without requiring any signup.

The primary consequence of this vulnerability is a denial-of-service attack, which can cause your application to crash or become unresponsive.

Yes, you should upgrade to a version higher than 6.33.4 to ensure that you are not affected by this vulnerability.

Vulert is a monitoring tool that uses Pipfile.lock to track and alert in real-time for open-source vulnerabilities in your software, helping you maintain security.

Related vulnerabilities

Recent vulnerabilities recorded for protobuf.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback