CVEBrief

Home / Google LLC / protobuf-cpp / CVE-2022-1941

CVE-2022-1941: is it exploited, and which versions of Google LLC protobuf-cpp are affected and fixed?

CVE-2022-1941 is an improper Validation of Syntactic Correctness of Input vulnerability in Google LLC protobuf-cpp. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 10:38 UTC). Affected: protobuf before 3.18.3, protobuf from 3.19.0 before 3.19.5, protobuf from 3.20.0 before 3.20.2 and 1 more (GitHub advisory GHSA-8gq9-2x98-w8hf). Fixed in 3.18.3, 3.19.5, 3.20.2 and 4.21.6 (GitHub advisory GHSA-8gq9-2x98-w8hf). Severity: High (7.5, CVSS 3.1, from CISA-ADP).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 10:38 UTC, CVE record November 28, 2026, 19:54 UTC and NVD November 19, 2026, 07:45 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 10:38 UTC
Affected
protobuf before 3.18.3, protobuf from 3.19.0 before 3.19.5, protobuf from 3.20.0 before 3.20.2 and 1 more
GitHub advisory GHSA-8gq9-2x98-w8hf
Fixed in
3.18.3, 3.19.5, 3.20.2 and 4.21.6
GitHub advisory GHSA-8gq9-2x98-w8hf
Severity
High 7.5
CVSS 3.1 from CISA-ADP
Exploit odds (EPSS)
1.61% in 30 days
higher than 77% of CVEs; FIRST, December 2, 2026

What is CVE-2022-1941?

Out of Memory issue in ProtocolBuffers for cpp and python

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.

From the CVE record by Google, last updated August 3, 2024, 00:24 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
Google LLCprotobuf-cppthrough 3.16.1
through 3.17.3
through 3.18.2
through 3.19.4
through 3.20.1
through 3.21.5
Google LLCprotobuf-pythonthrough 3.16.1
through 3.17.3
through 3.18.2
through 3.19.4
through 3.20.1
through 4.21.5

As the CVE record by Google states it, last updated August 3, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which packages are affected, and in which version is each fixed?

EcosystemPackageAffectedFixed inAdvisory
PyPIprotobuf< 3.18.33.18.3GHSA-8gq9-2x98-w8hf
PyPIprotobuf>= 3.19.0, < 3.19.53.19.5GHSA-8gq9-2x98-w8hf
PyPIprotobuf>= 3.20.0, < 3.20.23.20.2GHSA-8gq9-2x98-w8hf
PyPIprotobuf>= 4.0.0, < 4.21.64.21.6GHSA-8gq9-2x98-w8hf

GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated July 5, 2024. Summary: protobuf-cpp and protobuf-python have potential Denial of Service issue.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
googleprotobuf-cppbefore 3.18.3application
googleprotobuf-cppfrom 3.19.0 before 3.19.5application
googleprotobuf-cppfrom 3.20.0 before 3.20.2application
googleprotobuf-cppfrom 3.21.0 before 3.21.6application
googleprotobuf-pythonbefore 3.18.3application
googleprotobuf-pythonfrom 3.19.0 before 3.19.5application
googleprotobuf-pythonfrom 3.20.0 before 3.20.2application
googleprotobuf-pythonfrom 4.0.0 before 4.21.6application
fedoraprojectfedora36operating system
fedoraprojectfedora37operating system
debiandebian linux10.0operating system

NVD analysis (status Modified), last modified June 17, 2026, 04:23 UTC.

How severe is CVE-2022-1941?

ScoreVersionVectorSource
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HCISA-ADP
High 7.5CVSS 3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2022-1941 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: none; automatable: yes; technical impact: partial (CISA ADP, July 16, 2024)
EPSS
1.61% probability of exploitation activity in the next 30 days, percentile 76.7 (FIRST EPSS, scores of December 2, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
May 30, 2022
Published
September 22, 2022, 00:00 UTC
CVE record updated
August 3, 2024, 00:24 UTC by Google
NVD
Modified, last modified June 17, 2026, 04:23 UTC
Last checked
CVE list November 28, 2026, 19:54 UTC; NVD November 19, 2026, 07:45 UTC; KEV December 3, 2026, 10:38 UTC; EPSS December 2, 2026
Official record
cve.org · NVD

Questions about CVE-2022-1941

Is CVE-2022-1941 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 10:38 UTC. FIRST's EPSS gives it a 1.61% chance of exploitation activity in the next 30 days (scores of December 2, 2026).

Which versions of Google LLC protobuf-cpp are affected by CVE-2022-1941?

protobuf before 3.18.3, protobuf from 3.19.0 before 3.19.5, protobuf from 3.20.0 before 3.20.2 and protobuf from 4.0.0 before 4.21.6, per the GitHub advisory GHSA-8gq9-2x98-w8hf. The tables above give every range the sources list.

Which version fixes CVE-2022-1941?

3.18.3, 3.19.5, 3.20.2 and 4.21.6, per the GitHub advisory GHSA-8gq9-2x98-w8hf. Check the vendor's advisory before you rely on it.

How severe is CVE-2022-1941?

High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.

Where is the official record of CVE-2022-1941?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.