CVE-2022-1941

Out of Memory issue in ProtocolBuffers for cpp and python

Description

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.

Category

7.5
CVSS
Severity: High
CVSS 3.1 •
EPSS 0.11%
Vendor Advisory fedoraproject.org Vendor Advisory fedoraproject.org
Affected: Google LLC protobuf-cpp
Affected: Google LLC protobuf-python
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2022-1941?
CVE-2022-1941 has been scored as a high severity vulnerability.
How to fix CVE-2022-1941?
To fix CVE-2022-1941, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2022-1941 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2022-1941 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2022-1941?
CVE-2022-1941 affects Google LLC protobuf-cpp, Google LLC protobuf-python.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.