ADVISORIES

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

EcosystemPackageAffected versions
Ubuntu:Pro:18.04:LTSprotobuf
All versions before 3.0.0-9.1ubuntu1.1+esm4 (fixed in 3.0.0-9.1ubuntu1.1+esm4)
Ubuntu:Pro:20.04:LTSprotobuf
All versions before 3.6.1.3-2ubuntu5.2+esm3 (fixed in 3.6.1.3-2ubuntu5.2+esm3)
Ubuntu:22.04:LTSprotobuf
All versions before 3.12.4-1ubuntu7.22.04.6 (fixed in 3.12.4-1ubuntu7.22.04.6)
Ubuntu:24.04:LTSprotobuf
All versions before 3.21.12-8.2ubuntu0.3 (fixed in 3.21.12-8.2ubuntu0.3)
Ubuntu:25.10protobuf
All versions before 3.21.12-11ubuntu3.1 (fixed in 3.21.12-11ubuntu3.1)
Ubuntu:26.10protobuf
All versions before 3.21.12-15ubuntu1 (fixed in 3.21.12-15ubuntu1)
Ubuntu:26.04:LTSprotobuf
All versions before 3.21.12-15ubuntu1 (fixed in 3.21.12-15ubuntu1)

References