cve.bz

CVE-2022-1941

7.5 highEPSS 1.6%Fix available

High (7.5). EPSS 1.6% estimated probability of exploitation activity in the next 30 days. Fixed in protobuf 3.18.3, 3.19.5, 3.20.2.

On this page
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.

Severity

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
1.6% (unchanged from 1.5% a week ago; 1.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 77th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: partial, assessed 2024-07-16. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-1286 Improper Validation of Syntactic Correctness of Input
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-1941 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-1941?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-1941?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-1941 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Google LLC protobuf-cppthrough 3.16.1
Google LLC protobuf-cppthrough 3.17.3
Google LLC protobuf-cppthrough 3.18.2
Google LLC protobuf-cppthrough 3.19.4
Google LLC protobuf-cppthrough 3.20.1
Google LLC protobuf-cppthrough 3.21.5
Google LLC protobuf-pythonthrough 3.16.1
Google LLC protobuf-pythonthrough 3.17.3
Google LLC protobuf-pythonthrough 3.18.2
Google LLC protobuf-pythonthrough 3.19.4
Google LLC protobuf-pythonthrough 3.20.1
Google LLC protobuf-pythonthrough 4.21.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-8gq9-2x98-w8hfPyPIprotobuf<3.18.33.18.3
GHSA-8gq9-2x98-w8hfPyPIprotobuf>=3.19.0 <3.19.53.19.5
GHSA-8gq9-2x98-w8hfPyPIprotobuf>=3.20.0 <3.20.23.20.2
GHSA-8gq9-2x98-w8hfPyPIprotobuf>=4.0.0 <4.21.64.21.6
PYSEC-2026-899PyPIprotobuf<3.18.3
>=3.19.0 <3.19.5
>=3.20.0 <3.20.2
>=4.0.0 <4.21.6
3.18.3, 3.19.5, 3.20.2, 4.21.6

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10protobuf3.6.1.3-2+deb10u1DLA-3393-1
Debian12, 13, 14protobuf3.21.9-3DEBIAN-CVE-2022-1941
Ubuntu18.04:LTSprotobuf3.0.0-9.1ubuntu1.1UBUNTU-CVE-2022-1941 USN-5945-1
Ubuntu20.04:LTSprotobuf3.6.1.3-2ubuntu5.2UBUNTU-CVE-2022-1941 USN-5945-1
Ubuntu22.04:LTSprotobuf3.12.4-1ubuntu7.22.04.1UBUNTU-CVE-2022-1941 USN-5945-1
UbuntuPro:14.04:LTSprotobufno fix listedUBUNTU-CVE-2022-1941 USN-5945-1
UbuntuPro:16.04:LTSprotobuf2.6.1-1.3ubuntu0.1~esm2UBUNTU-CVE-2022-1941 USN-5769-1
Red Hatenterprise_linux:9::appstreamprotobuf, protobuf-lite, python3-protobuf and 4 more0:3.14.0-16.el9RHSA-2025:7138
Red Hatenterprise_linux:9::crbprotobuf-devel, protobuf-compiler, protobuf-debuginfo and 4 more0:3.14.0-16.el9RHSA-2025:7138
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 15 morepython-websocket-client1.3.2-150100.6.7.3SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 14 morepython-zope.interface4.4.2-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 13 morepython-constantly15.1.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 13 morepython-hyperlink17.2.1-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morepython-Automat0.6.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morepython-incremental17.5.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 5 morepython-psutil5.9.1-150100.6.6.3SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 5 morepython-requests2.25.1-150100.6.13.3SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP2-ESPOS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 22 moreprotobuf3.9.2-150200.4.19.2SUSE-SU-2022:3922-1
SUSELinux Enterprise High Performance Computing 15 SP1-LTSSprotobuf3.9.2-150100.8.3.3SUSE-SU-2023:2783-2
SUSELinux Enterprise High Performance Computing 15 SP1-LTSSpython-cryptography3.3.2-150100.7.15.3SUSE-SU-2023:2783-2
SUSELinux Enterprise High Performance Computing 15 SP1-LTSSpython-psutil5.9.1-150100.6.6.3SUSE-SU-2023:2783-2
24 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.3, Leap 15.4, Leap Micro 5.2protobuf3.9.2-150200.4.19.2SUSE-SU-2022:3922-1
openSUSELeap 15.4azure-cli-core2.17.1-150100.6.18.1SUSE-SU-2023:2783-1
openSUSELeap 15.4python-constantly15.1.0-150000.3.4.1SUSE-SU-2023:2783-1
openSUSELeap 15.4python-humanfriendly10.0-150100.6.3.3SUSE-SU-2023:2783-1
openSUSELeap 15.4python-hyperlink17.2.1-150000.3.4.1SUSE-SU-2023:2783-1
openSUSELeap 15.4python-jsondiff1.3.0-150100.3.6.3SUSE-SU-2023:2783-1
openSUSELeap 15.4python-knack0.9.0-150100.3.7.3SUSE-SU-2023:2783-1
openSUSELeap 15.4python-websocket-client1.3.2-150100.6.7.3SUSE-SU-2023:2783-1
openSUSELeap 15.4python-zope.interface4.4.2-150000.3.4.1SUSE-SU-2023:2783-1
AlmaLinux9protobuf, protobuf-lite, protobuf-devel and 3 more3.14.0-16.el9ALSA-2025:7138
Rocky Linux9protobuf0:3.14.0-16.el9RLSA-2025:7138
Azure Linux2mysql8.0.40-1AZL-13172
Azure Linux2protobuf3.17.3-3AZL-13174
Azure Linux2pytorch2.0.0-7AZL-25856
Azure Linux3keras3.1.1-1AZL-39031
Azure Linux3mysql8.0.40-1AZL-35018
Azure Linux3protobuf25.3-1AZL-35125
Azure Linux3python-tensorboard2.16.2-1AZL-39061
Azure Linux3pytorch2.2.2-2AZL-35147
Azure Linux3tensorflow2.16.1-1AZL-38908

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE.

Red Hat

Red Hat rates this Moderate.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 9protobuf-0:3.14.0-16.el9Fixed 2025-05-13RHSA-2025:7138
Red Hat 3scale API Management Platform 2openrestyNot affected
Red Hat Ansible Automation Platform 2aap-cloud-metrics-collector-containerNot affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-dellemc-openmanage-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/ee-minimal-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ansible-builder-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-cloud-services-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/ee-supported-rhel9Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Not affected
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/platform-resource-runner-rhel8Not affected
Red Hat Ceph Storage 7rhceph/ceph-nvmeof-cli-rhel9Not affected
Red Hat Ceph Storage 7rhceph/ceph-nvmeof-rhel9Not affected
Red Hat Enterprise Linux 10protobufNot affected
Red Hat Enterprise Linux 7protobufNot affected
Red Hat Enterprise Linux 8protobufNot affected
Red Hat Enterprise Linux 9fence-agentsNot affected
Red Hat OpenShift Container Platform 4openshift4/baremetal-hardware-event-proxy-rhel8Not affected
Red Hat OpenStack Platform 16.1protobufNot affected
Red Hat OpenStack Platform 16.2protobufNot affected
Red Hat Quay 3quay/quay-rhel8Not affected
4 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-1941.

Attack patterns (CAPEC)

  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-676 NoSQL Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON