Denial of servicein Google protobuf-cpp.
No public exploit found; not on exploited lists.
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.
- Upgrade protobuf (PyPI) to 3.18.3, 3.19.5, 3.20.2, 4.21.6 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 30 May 2022CVE ID reserved by Google.
- 22 Sep 2022Published in the CVE List.
- 3 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
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.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness:
- cloud.google.com
- github.com
- www.openwall.com mailing-list
- lists.fedoraproject.org vendor-advisory
- lists.debian.org mailing-list
- lists.fedoraproject.org vendor-advisory
- security.netapp.com
Patchminder. CVE-2022-1941: Denial of service in Google protobuf-cpp. https://patchminder.com/cve/cve-2022-1941/ (accessed 5 December 2026).