PT-2022-6735 · Google+8 · Protocol Buffers+8

Published

2022-09-13

·

Updated

2026-02-18

·

CVE-2022-1941

CVSS v2.0

7.8

High

VectorAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions 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 ProtocolBuffers 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
Description A parsing vulnerability for the MessageSet type in ProtocolBuffers 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. This issue can be triggered by a small malicious payload, causing the running service to allocate more than 3GB of RAM.
Recommendations For versions prior to 3.18.3, upgrade to version 3.18.3 or later for both protobuf-cpp and protobuf-python. For versions prior to 3.19.5, upgrade to version 3.19.5 or later for both protobuf-cpp and protobuf-python. For versions prior to 3.20.2, upgrade to version 3.20.2 or later for both protobuf-cpp and protobuf-python. For versions prior to 3.21.6, upgrade to version 3.21.6 or later for protobuf-cpp. For versions prior to 4.21.6, upgrade to version 4.21.6 or later for protobuf-python. As a temporary workaround, consider restricting the use of the MessageSet type in ProtocolBuffers until a patch is available.

Fix

DoS

Buffer Overflow

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

ALSA-2025:7138
ALT-PU-2022-3253
ALT-PU-2023-1230
AZL-13172
AZL-13174
AZL-25856
AZL-35018
AZL-35125
AZL-35147
AZL-38908
AZL-39031
AZL-39061
BDU:2023-03839
CVE-2022-1941
DLA-3393-1
GHSA-8GQ9-2X98-W8HF
INFSA-2025_7138
MGASA-2023-0092
OESA-2022-2010
OESA-2022-2011
OESA-2022-2012
OPENSUSE-SU-2022_3922-1
RHSA-2025:7138
RHSA-2025_7138
SUSE-SU-2022:3922-1
SUSE-SU-2023:2783-1
SUSE-SU-2023:2783-2
USN-5769-1
USN-5945-1

Affected Products

Alt Linux
Almalinux
Astra Linux
Linuxmint
Protocol Buffers
Red Hat
Rocky Linux
Suse
Ubuntu