# protobuf affected by a JSON recursion depth bypass

Advisory record · `GHSA-7gcm-g887-7qv7`

- **Identifiers:** `GHSA-7gcm-g887-7qv7` · `CVE-2026-0994` · `PYSEC-2026-1805`
- **State:** Confirmed
- **Severity:** CVSS 8.2 High
- **Critical:** No
- **Weakness (CWE):** [CWE-674](https://cwe.mitre.org/data/definitions/674.html)
- **Tags:** [Denial of service](https://agentprime.io/advisories/tag/dos.md)
- **Published:** 23 Jan 2026
- **Updated:** 10 Sept 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 23 Jan 2026, 15:31 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `protobuf` (PyPI): affected `>=6.30.0rc1, <6.33.5 || <5.29.6`; fixed in `6.33.5`, `5.29.6`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> The protobuf package, Python implementation, versions before 5.29.6 and from 6.30.0rc1 before 6.33.5, is affected. An attacker who can supply input parsed by google.protobuf.json_format.ParseDict() can nest google.protobuf.Any messages deeply enough to bypass the recursion depth limit, causing a RecursionError and a denial of service. Upgrade to protobuf 5.29.6 or 6.33.5. The source gives no workaround.

Written 5 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.2 High, CVSS 4.0: `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`, from CNA (Google)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0071, the 54th percentile, on 16 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:34 UTC: First seen by agentprime
- 31 Oct 2026, 14:34 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-7gcm-g887-7qv7)

## Sources

- [GitHub Advisory Database: GHSA-7gcm-g887-7qv7](https://github.com/advisories/GHSA-7gcm-g887-7qv7)
- [OSV: GHSA-7gcm-g887-7qv7](https://osv.dev/vulnerability/GHSA-7gcm-g887-7qv7)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-0994>
- <https://github.com/protocolbuffers/protobuf/issues/25070>
- <https://github.com/protocolbuffers/protobuf/pull/25239>
- <https://github.com/protocolbuffers/protobuf/commit/5ebddcb1bcbe51d1fe323baa145e85f4f23128cf>
- <https://github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b>
- <https://github.com/protocolbuffers/protobuf>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-7gcm-g887-7qv7>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-7gcm-g887-7qv7/>. Everything for agents: <https://agentprime.io/llms.txt>.
