{"cve":"CVE-2022-1941","nvd":{"published":"2022-09-22T15:15:09.203","modified":"2026-06-17T04:23:23.630","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1286"],"references":["http://www.openwall.com/lists/oss-security/2022/09/27/1","https://cloud.google.com/support/bulletins#GCP-2022-019","https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf","https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/"],"products":["debian:debian_linux","fedoraproject:fedora","google:protobuf-cpp","google:protobuf-python"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-1941","score":0.01512,"percentile":0.74474,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-8gq9-2x98-w8hf","url":"https://osv.dev/vulnerability/GHSA-8gq9-2x98-w8hf","summary":"protobuf-cpp and protobuf-python have potential Denial of Service issue","modified":"2026-07-08T06:28:21.826447100Z","packages":[{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":["<3.18.3"],"fixed":["3.18.3"]},{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":[">=3.19.0 <3.19.5"],"fixed":["3.19.5"]},{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":[">=3.20.0 <3.20.2"],"fixed":["3.20.2"]},{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":[">=4.0.0 <4.21.6"],"fixed":["4.21.6"]}]},{"id":"PYSEC-2026-899","url":"https://osv.dev/vulnerability/PYSEC-2026-899","summary":"protobuf-cpp and protobuf-python have potential Denial of Service issue","modified":"2026-07-07T11:45:17.408026989Z","packages":[{"ecosystem":"PyPI","name":"protobuf","purl":"pkg:pypi/protobuf","ranges":["<3.18.3",">=3.19.0 <3.19.5",">=3.20.0 <3.20.2",">=4.0.0 <4.21.6"],"fixed":["3.18.3","3.19.5","3.20.2","4.21.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}