CVE-2026-0994
HIGH 8.2CVSS 4.0protobuf affected by a JSON recursion depth bypass
A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages.
Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the intended recursion limit, eventually exhausting Python’s recursion stack and causing a RecursionError.
- Published
- 23 Jan 2026
- Last modified
- 10 Sep 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-674
- Also known as
- GHSA-7gcm-g887-7qv7PYSEC-2026-1805
- Sources
- NVDJSONOSV GHSA-7gcm-g887-7qv7JSONOSV PYSEC-2026-1805JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve-coordination@google.com (Secondary) | CVSS 4.0 | HIGH 8.2 | 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | 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 | |
| OSV | PyPA | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufcpe:2.3:a:google:protobuf:*:*:*:*:*:*:*:* |
<= 33.4 | ||
| OSV | PyPI | protobuf | >= 6.30.0rc1, < 6.33.5 | 6.33.5 |
| OSV | PyPI | protobuf | < 5.29.6 | 5.29.6 |
| OSV | PyPI | protobuf | < 5.29.6; >= 6.30.0rc1, < 6.33.5 | 5.29.6, 6.33.5 |
References
- https://github.com/protocolbuffers/protobuf/pull/25239 · Patch, Vendor Advisory, WEB
- https://access.redhat.com/errata/RHSA-2026:16174
- https://access.redhat.com/errata/RHSA-2026:3059
- https://access.redhat.com/errata/RHSA-2026:3094
- https://access.redhat.com/errata/RHSA-2026:3095
- https://access.redhat.com/errata/RHSA-2026:3097
- https://access.redhat.com/errata/RHSA-2026:3218
- https://access.redhat.com/errata/RHSA-2026:3219
- https://access.redhat.com/errata/RHSA-2026:3220
- https://access.redhat.com/errata/RHSA-2026:3461
- https://access.redhat.com/errata/RHSA-2026:3462
- https://access.redhat.com/errata/RHSA-2026:3958
- https://access.redhat.com/errata/RHSA-2026:3959
- https://access.redhat.com/errata/RHSA-2026:61627
- https://access.redhat.com/errata/RHSA-2026:61629
- https://access.redhat.com/errata/RHSA-2026:8746
- https://access.redhat.com/errata/RHSA-2026:8747
- https://access.redhat.com/errata/RHSA-2026:8748
- https://access.redhat.com/security/cve/CVE-2026-0994
- https://bugzilla.redhat.com/show_bug.cgi?id=2432398
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-0994.json
- https://nvd.nist.gov/vuln/detail/CVE-2026-0994 · ADVISORY
- https://github.com/protocolbuffers/protobuf/issues/25070 · WEB
- https://github.com/protocolbuffers/protobuf/commit/5ebddcb1bcbe51d1fe323baa145e85f4f23128cf · WEB
- https://github.com/protocolbuffers/protobuf/commit/d2b001626d137c62dfee6c88c87324102531868b · WEB
- https://github.com/protocolbuffers/protobuf · PACKAGE
- https://pypi.org/project/protobuf · PACKAGE
- https://github.com/advisories/GHSA-7gcm-g887-7qv7 · ADVISORY
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 23 Jan 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Jan 2026)