CVE-2022-1941
HIGH 7.5CVSS 3.1protobuf-cpp and protobuf-python have potential Denial of Service issue
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.
- Published
- 22 Sep 2022
- Last modified
- 8 Jul 2026
- Assigned by
- cve-coordination@google.com
- NVD status
- Modified
- Weakness
- CWE-119CWE-1286
- Also known as
- GHSA-8gq9-2x98-w8hfPYSEC-2026-899
- Sources
- NVDJSONOSV GHSA-8gq9-2x98-w8hfJSONOSV PYSEC-2026-899JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | PyPA | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobuf-cppcpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:* |
< 3.18.3 | 3.18.3 | |
| NVD | protobuf-cppcpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:* |
>= 3.19.0, < 3.19.5 | 3.19.5 | |
| NVD | protobuf-cppcpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:* |
>= 3.20.0, < 3.20.2 | 3.20.2 | |
| NVD | protobuf-cppcpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:* |
>= 3.21.0, < 3.21.6 | 3.21.6 | |
| NVD | protobuf-pythoncpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:* |
< 3.18.3 | 3.18.3 | |
| NVD | protobuf-pythoncpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:* |
>= 3.19.0, < 3.19.5 | 3.19.5 | |
| NVD | protobuf-pythoncpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:* |
>= 3.20.0, < 3.20.2 | 3.20.2 | |
| NVD | protobuf-pythoncpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.21.6 | 4.21.6 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:* |
= 37 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* |
= 10.0 | |
| OSV | PyPI | protobuf | < 3.18.3 | 3.18.3 |
| OSV | PyPI | protobuf | >= 3.19.0, < 3.19.5 | 3.19.5 |
| OSV | PyPI | protobuf | >= 3.20.0, < 3.20.2 | 3.20.2 |
| OSV | PyPI | protobuf | >= 4.0.0, < 4.21.6 | 4.21.6 |
| OSV | PyPI | protobuf | < 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 |
References
- http://www.openwall.com/lists/oss-security/2022/09/27/1 · Mailing List, Third Party Advisory, WEB
- https://cloud.google.com/support/bulletins#GCP-2022-019 · Third Party Advisory, WEB
- https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf · Third Party Advisory, WEB
- https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html · Mailing List, WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/ · WEB
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/ · WEB
- https://security.netapp.com/advisory/ntap-20240705-0001/ · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-1941 · ADVISORY
- https://github.com/protocolbuffers/protobuf · PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3 · WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP · WEB
- https://pypi.org/project/protobuf · PACKAGE
- https://github.com/advisories/GHSA-8gq9-2x98-w8hf · ADVISORY
History
- 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Sep 2022)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Sep 2022)