# CVE-2022-1941: PYSEC-2026-899 - protobuf-cpp and protobuf-python have potential Denial of Service issue

Source: https://junglewise.ai/threats/cve-2022-1941-protobuf-cpp-and-protobuf-python-have-potential-denial-of-service  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2022-1941 · Severity: low · CVSS 3.1 · Published 2026-07-07

protobuf-cpp and protobuf-python have potential Denial of Service issue

Technologies: [protobuf (PyPI)](https://junglewise.ai/threats/technologies/pypi-protobuf). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2022-1941 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2022-1941 being exploited in the wild.

**How severe is CVE-2022-1941?** Low severity, with a CVSS score of 3.1, published 7 July 2026.

**Which products and versions are affected?** protobuf (PyPI) ECOSYSTEM:introduced=0,fixed=3.18.3, ECOSYSTEM:introduced=0,fixed=3.18.3,introduced=3.19.0,fixed=3.19.5,introduced=3.20.0,fixed=3.20.2,introduced=4.0.0,fixed=4.21.6.

**Is there a fix for CVE-2022-1941?** Yes. protobuf (PyPI): upgrade to 3.18.3, 4.21.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2022-1941?** Check whether you run protobuf (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- protobuf (PyPI): upgrade to 3.18.3, 4.21.6 or later

  ```sh
  pip install "protobuf>=4.21.6"
  ```


## Affected products

- protobuf (PyPI) ECOSYSTEM:introduced=0,fixed=3.18.3, ECOSYSTEM:introduced=0,fixed=3.18.3,introduced=3.19.0,fixed=3.19.5,introduced=3.20.0,fixed=3.20.2,introduced=4.0.0,fixed=4.21.6

## Identifiers

- CVE-2022-1941
- GHSA-8gq9-2x98-w8hf
- PYSEC-2026-899

## Related threats

- [PYSEC-2026-1806 - protobuf-python has a potential Denial of Service issue](https://junglewise.ai/threats/cve-2025-4565-protobuf-python-has-a-potential-denial-of-service-issue)
- [Google Protobuf denial of service in Python json_format.ParseDict](https://junglewise.ai/threats/cve-2026-0994-google-protobuf-denial-of-service-in-python-json-format-parsedict)
- [Google Protobuf heap buffer overflow](https://junglewise.ai/threats/cve-2015-5237-google-protobuf-heap-buffer-overflow)
- [Withdrawn Advisory: NULL Pointer Dereference in Protocol Buffers](https://junglewise.ai/threats/cve-2021-22570-withdrawn-advisory-null-pointer-dereference-in-protocol-buffers)
