patchminder
No public exploit found CVE-2022-1941

Denial of servicein Google protobuf-cpp.

Published 22 Sep 2022 · Updated 3 Aug 2024 · Every fact sourced

JSONCite
Is it exploited?
Not confirmed

No public exploit found; not on exploited lists.

Severity
High 7.5
CVSSA severity score from 0 to 10. 9 and higher is critical. 3.1 · CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks. assessment · no login needed
Attack likelihood
Moderate
EPSSA daily score from FIRST: the chance a hole is attacked in the next 30 days. 1.6% chance in 30 days · 4 Dec 2026
Fix
Available
Fixed versions listed below
In plain words

A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.

What to do now
  • Upgrade protobuf (PyPI) to 3.18.3, 3.19.5, 3.20.2, 4.21.6 or later, whichever matches your release line.
Versions

Affected and fixed versions

Product or package
Affected
Fixed in
Source
protobuf-cpp
3.16.1 and earlier
Not confirmed
CVE record
protobuf-cpp
3.17.3 and earlier
Not confirmed
CVE record
protobuf-cpp
3.18.2 and earlier
Not confirmed
CVE record
protobuf-cpp
3.19.4 and earlier
Not confirmed
CVE record
protobuf-cpp
3.20.1 and earlier
Not confirmed
CVE record
protobuf-cpp
3.21.5 and earlier
Not confirmed
CVE record
protobuf-python
3.16.1 and earlier
Not confirmed
CVE record
protobuf-python
3.17.3 and earlier
Not confirmed
CVE record
protobuf-python
3.18.2 and earlier
Not confirmed
CVE record
protobuf-python
3.19.4 and earlier
Not confirmed
CVE record
protobuf-python
3.20.1 and earlier
Not confirmed
CVE record
protobuf-python
4.21.5 and earlier
Not confirmed
CVE record
protobuf (PyPI)
before 3.18.3
3.18.3
GitHub advisory
protobuf (PyPI)
3.19.0 to before 3.19.5
3.19.5
GitHub advisory
protobuf (PyPI)
3.20.0 to before 3.20.2
3.20.2
GitHub advisory
protobuf (PyPI)
4.0.0 to before 4.21.6
4.21.6
GitHub advisory

From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.

Timeline

From first report to first attacks

  1. 30 May 2022
    CVE ID reserved by Google.
  2. 22 Sep 2022
    Published in the CVE List.
  3. 3 Aug 2024
    CVE record last updated.
Exploit code

Attack code anyone can find

Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.

Metasploit module
None known
Nuclei scan template
None known
Exploit-DB
None known
GitHub proof of concepts
None known

Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.

Related

Same weakness:

All CWE-1286 vulnerabilities

References
Cite this page

Patchminder. CVE-2022-1941: Denial of service in Google protobuf-cpp. https://patchminder.com/cve/cve-2022-1941/ (accessed 5 December 2026).