Merged
Conversation
Fixes CVE-2026-0994 (HIGH) - JSON recursion depth bypass in protobuf. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fixes CVE-2026-0994 (HIGH) - JSON recursion depth bypass in protobuf. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
There was a problem hiding this comment.
No issues found across 2 files
Architecture diagram
sequenceDiagram
participant External as External Client
participant App as Application Server
participant Proto as Protobuf Library (v6.33.5)
participant Memory as System Stack/Heap
Note over External,Memory: JSON Deserialization Flow (CVE-2026-0994 Patch)
External->>App: Sends request with nested JSON payload
App->>Proto: CHANGED: Unmarshal JSON to Protobuf Message
Proto->>Proto: Initialize recursion counter
loop For each nested JSON level
Proto->>Memory: Allocate frame for nested object
Note over Proto: NEW: Validate recursion depth < MAX_LIMIT
alt Recursion Depth Exceeded
Proto-->>App: Return "Recursion limit reached" error
App-->>External: 400 Bad Request (Protection Triggered)
else Depth Within Limits
Proto-->>Proto: Continue parsing
end
end
Proto-->>App: Return populated Message object
App->>App: Process business logic
App-->>External: 200 OK Response
This repo uses uv, not poetry. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
FelixLC
approved these changes
Feb 2, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
protobuffrom 6.33.4 to 6.33.5Vulnerability Details
JSON recursion depth bypass in protobuf
Protobuf was affected by a JSON recursion depth bypass vulnerability.
Test plan
🤖 Generated with Claude Code
Summary by cubic
Update protobuf to 6.33.5 to patch CVE-2026-0994 (JSON recursion depth bypass). No runtime code changes; security-only dependency update.
Written for commit 1fe7139. Summary will update on new commits.