{"id":"CVE-2022-1941","published":"2022-09-22T00:00:00Z","modified":"2024-08-03T00:24:42Z","title":"Out of Memory issue in ProtocolBuffers for cpp and python","vendor":"Google","product":"protobuf-cpp","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01613,"percentile":0.76573,"provenance":"source"},"cwes":[{"id":"CWE-1286","name":"Improper Validation of Syntactic Correctness of Input"}],"references":[{"url":"https://cloud.google.com/support/bulletins#GCP-2022-019","tags":[]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/27/1","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/","tags":["vendor-advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/","tags":["vendor-advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240705-0001/","tags":[]}],"priority":{"score":20.6,"factors":[{"name":"EPSS percentile","points":15.31},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"google","affectedVersions":[{"vendor":"Google LLC","product":"protobuf-cpp","versions":[">= unspecified, <= 3.16.1",">= unspecified, <= 3.17.3",">= unspecified, <= 3.18.2",">= unspecified, <= 3.19.4",">= unspecified, <= 3.20.1",">= unspecified, <= 3.21.5"]},{"vendor":"Google LLC","product":"protobuf-python","versions":[">= unspecified, <= 3.16.1",">= unspecified, <= 3.17.3",">= unspecified, <= 3.18.2",">= unspecified, <= 3.19.4",">= unspecified, <= 3.20.1",">= unspecified, <= 4.21.5"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2024-07-16T19:20:47.222552Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"protobuf","vulnerableRanges":["<3.18.3",">=3.19.0, <3.19.5",">=3.20.0, <3.20.2",">=4.0.0, <4.21.6"],"patched":["3.18.3","3.19.5","3.20.2","4.21.6"],"from":["GHSA-8gq9-2x98-w8hf","PYSEC-2026-899"],"provenance":"source"}],"summary":{"text":"The MessageSet parsing logic in protobuf-cpp and protobuf-python (ProtocolBuffers) fails to properly handle messages containing multiple key-value pairs per element, affecting releases up to and including the listed 3.16 through 4.21.5 versions. An attacker who can send a specially crafted message to a service that parses unsanitized input can trigger out-of-memory conditions and cause a denial of service, with no authentication or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:14:48Z"},"euvd":{"id":"EUVD-2022-6743","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2015-5237","published":"2017-09-25","fixed":"3.4.0","kev":false},{"cve":"CVE-2021-22570","published":"2022-01-26","fixed":"3.15.0","kev":false,"link":{"from":"CVE-2021-22570","to":"CVE-2022-1941","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:protobuf","fromFixed":"3.15.0","toFixed":"3.18.3","daysApart":239}]}},{"cve":"CVE-2022-1941","published":"2022-09-22","fixed":"4.21.6","kev":false},{"cve":"CVE-2025-4565","published":"2025-06-16","fixed":"6.31.1","kev":false},{"cve":"CVE-2026-0994","published":"2026-01-23","fixed":"6.33.5","kev":false}],"package":"PyPI:protobuf"}}