CVE-2026-0994Denial of Service in Python Protobuf
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.
What to do
Fixed builds are available from AlmaLinux, Debian, PyPI, Red Hat, Rocky Linux, Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | protobuf | Fixed | 3.21.12-15ubuntu1 | UBUNTU-CVE-2026-0994 |
| Ubuntu 26.04 | protobuf | Fixed | 3.21.12-15ubuntu1 | UBUNTU-CVE-2026-0994 |
| Ubuntu 25.10 | protobuf | Fixed | 3.21.12-11ubuntu3.1 | UBUNTU-CVE-2026-0994 |
| Ubuntu 24.04 | protobuf | Fixed | 3.21.12-8.2ubuntu0.3 | UBUNTU-CVE-2026-0994 |
| Ubuntu 22.04 | protobuf | Fixed | 3.12.4-1ubuntu7.22.04.6 | UBUNTU-CVE-2026-0994 |
| Ubuntu 20.04 | protobuf | Fix pending | 3.6.1.3-2ubuntu5.2+esm3 (Ubuntu Pro) | UBUNTU-CVE-2026-0994 |
| Ubuntu 18.04 | protobuf | Fix pending | 3.0.0-9.1ubuntu1.1+esm4 (Ubuntu Pro) | UBUNTU-CVE-2026-0994 |
| Debian 14 | protobuf | Fixed | 3.21.12-16 | DEBIAN-CVE-2026-0994 |
| Debian 13 | protobuf | Fixed | 3.21.12-11+deb13u1 | DEBIAN-CVE-2026-0994 |
| Debian 12 | protobuf | Fixed | 3.21.12-3+deb12u1 | DEBIAN-CVE-2026-0994 |
| Red Hat Enterprise Linux 10 | protobuf | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 10 | protobuf-compiler | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 10 | protobuf-devel | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 10 | protobuf-lite | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 10 | protobuf-lite-devel | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 10 | python3-protobuf | Fixed | 0:3.19.6-15.el10_1 | RHSA-2026:3094 |
| Red Hat Enterprise Linux 9 | protobuf | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| Red Hat Enterprise Linux 9 | protobuf-compiler | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| Red Hat Enterprise Linux 9 | protobuf-devel | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| Red Hat Enterprise Linux 9 | protobuf-lite | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| Red Hat Enterprise Linux 9 | protobuf-lite-devel | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| Red Hat Enterprise Linux 9 | python3-protobuf | Fixed | 0:3.14.0-17.el9_7 | RHSA-2026:3095 |
| AlmaLinux 10 | protobuf | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 10 | protobuf-compiler | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 10 | protobuf-devel | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 10 | protobuf-lite | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 10 | protobuf-lite-devel | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 10 | python3-protobuf | Fixed | 3.19.6-15.el10_1 | ALSA-2026:3094 |
| AlmaLinux 9 | protobuf | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| AlmaLinux 9 | protobuf-compiler | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| AlmaLinux 9 | protobuf-devel | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| AlmaLinux 9 | protobuf-lite | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| AlmaLinux 9 | protobuf-lite-devel | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| AlmaLinux 9 | python3-protobuf | Fixed | 3.14.0-17.el9_7 | ALSA-2026:3095 |
| Rocky Linux 10 | protobuf | Fixed | 0:3.19.6-15.el10_1 | RLSA-2026:3094 |
| Rocky Linux 9 | protobuf | Fixed | 0:3.14.0-17.el9_7 | RLSA-2026:3095 |
| PyPI library | protobuf | Fixed | 5.29.6 | PYSEC-2026-1805 |
What the vendor says
As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Python Protobuf: affected: <=v33.4
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.