1. Home
  2. Vulnerabilities
  3. CVE-2022-1941

CVE-2022-1941

A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including…

Published 22 Sept 2022 · modified 17 Jun 2026 · Sources: NVD, EPSS (FIRST)

Medium 52/100

Summary

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.

Affected products and versions

Debian (1 line(s))
Debian
ProductVersionsFixed inSource
Debian linux 10.0 — NVD
Fedoraproject (2 line(s))
Fedoraproject
ProductVersionsFixed inSource
Fedora 36 — NVD
Fedora 37 — NVD
Google (8 line(s))
Google
ProductVersionsFixed inSource
Protobuf-cpp before 3.18.3 (excluded) — NVD
Protobuf-cpp from 3.19.0 (included) to 3.19.5 (excluded) — NVD
Protobuf-cpp from 3.20.0 (included) to 3.20.2 (excluded) — NVD
Protobuf-cpp from 3.21.0 (included) to 3.21.6 (excluded) — NVD
Protobuf-python before 3.18.3 (excluded) — NVD
Protobuf-python from 3.19.0 (included) to 3.19.5 (excluded) — NVD
Protobuf-python from 3.20.0 (included) to 3.20.2 (excluded) — NVD
Protobuf-python from 4.0.0 (included) to 4.21.6 (excluded) — NVD

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
NVD
CVSS score
NVD
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H (CVSS 3.1, NVD)
Weakness
NVD-CWE-Other · Non classé

How this data is obtained and calculated