Ubuntu CVE Tracker
UBUNTU-CVE-2026-0994
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:18.04:LTS | protobuf | All versions before 3.0.0-9.1ubuntu1.1+esm4 (fixed in 3.0.0-9.1ubuntu1.1+esm4) |
| Ubuntu:Pro:20.04:LTS | protobuf | All versions before 3.6.1.3-2ubuntu5.2+esm3 (fixed in 3.6.1.3-2ubuntu5.2+esm3) |
| Ubuntu:22.04:LTS | protobuf | All versions before 3.12.4-1ubuntu7.22.04.6 (fixed in 3.12.4-1ubuntu7.22.04.6) |
| Ubuntu:24.04:LTS | protobuf | All versions before 3.21.12-8.2ubuntu0.3 (fixed in 3.21.12-8.2ubuntu0.3) |
| Ubuntu:25.10 | protobuf | All versions before 3.21.12-11ubuntu3.1 (fixed in 3.21.12-11ubuntu3.1) |
| Ubuntu:26.10 | protobuf | All versions before 3.21.12-15ubuntu1 (fixed in 3.21.12-15ubuntu1) |
| Ubuntu:26.04:LTS | protobuf | All versions before 3.21.12-15ubuntu1 (fixed in 3.21.12-15ubuntu1) |
References
- https://ubuntu.com/security/CVE-2026-0994
- https://www.cve.org/CVERecord?id=CVE-2026-0994
- https://github.com/protocolbuffers/protobuf/pull/25239
- https://github.com/protocolbuffers/protobuf/pull/25586
- https://github.com/protocolbuffers/protobuf/pull/25587
- https://ubuntu.com/security/notices/USN-8063-1
- https://ubuntu.com/security/notices/USN-8063-2