Skip to content
CVE Tracker
  • Newest CVEsPage
  • Recently added to KEVPage
  • Rising exploitation (EPSS)Page
  • Weekly digestPage
  • StatisticsPage
  • WatchlistPage
  • API documentationPage
  • MCP serverPage
  • Data sourcesPage
  • ChangelogPage
  • AboutPage
  • How it's builtPage
Back

CVE-2022-1941

Out of Memory issue in ProtocolBuffers for cpp and python

High7.5EPSS 1.5%
Published
Updated
Reserved
Assigned by
Google

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.

Scores

CVSS scores of CVE-2022-1941, by who scored it
Scored byCVSSScoreVector
CISA-ADPADP (enrichment)3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVDNVD · Modified3.1High7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS (exploitation in 30 days)
1.5% · top 25% of all CVEs (6 Nov 2026)
CISA SSVC
Exploitation: none · Automatable: yes · Technical impact: partial
Loading the EPSS history…

The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.

Weakness

Affected products

  • Google LLC · protobuf-cpp

    • affected unspecified – ≤ 3.16.1
    • affected unspecified – ≤ 3.17.3
    • affected unspecified – ≤ 3.18.2
    • affected unspecified – ≤ 3.19.4
    • affected unspecified – ≤ 3.20.1
    • affected unspecified – ≤ 3.21.5
  • Google LLC · protobuf-python

    • affected unspecified – ≤ 3.16.1
    • affected unspecified – ≤ 3.17.3
    • affected unspecified – ≤ 3.18.2
    • affected unspecified – ≤ 3.19.4
    • affected unspecified – ≤ 3.20.1
    • affected unspecified – ≤ 4.21.5

Affected packages

From reviewed advisories of the GitHub Advisory Database.

References (7)

Sources

The same CVE in the primary databases and aggregators, to check against.

Badge for a README or a ticket

CVE-2022-1941 badge
[![CVE-2022-1941](https://trackcve.app/badge/CVE-2022-1941.svg)](https://trackcve.app/cve/CVE-2022-1941)

Record last updated .