{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-1941","id":"CVE-2022-1941","title":"Out of Memory issue in ProtocolBuffers for cpp and python","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","descriptionLong":"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":"2022-09-22T00:00:00.000Z","updated":"2026-10-28T10:23:10.431859187Z","reserved":"2022-05-30T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"Google","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Google LLC protobuf-cpp","Google LLC protobuf-python"],"affectedProducts":[{"vendor":"Google LLC","product":"protobuf-cpp","defaultStatus":null,"versions":[{"version":"unspecified","lessThanOrEqual":"3.16.1","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.17.3","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.18.2","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.19.4","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.20.1","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.21.5","status":"affected","versionType":"custom"}],"platforms":[]},{"vendor":"Google LLC","product":"protobuf-python","defaultStatus":null,"versions":[{"version":"unspecified","lessThanOrEqual":"3.16.1","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.17.3","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.18.2","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.19.4","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"3.20.1","status":"affected","versionType":"custom"},{"version":"unspecified","lessThanOrEqual":"4.21.5","status":"affected","versionType":"custom"}],"platforms":[]}],"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"],"advisory":"GHSA-8gq9-2x98-w8hf"}],"cwes":["CWE-1286","CWE-119"],"aliases":["GHSA-8gq9-2x98-w8hf","PYSEC-2026-899"],"references":[{"url":"https://cloud.google.com/support/bulletins#GCP-2022-019","tags":["x_transferred","Third Party Advisory","web"]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf","tags":["x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://www.openwall.com/lists/oss-security/2022/09/27/1","tags":["mailing-list","x_transferred","Mailing List","Third Party Advisory","article","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html","tags":["mailing-list","x_transferred","Mailing List","article","web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/","tags":["vendor-advisory","x_transferred","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20240705-0001/","tags":["x_transferred","advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/1xxx/CVE-2022-1941.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1941","tags":["advisory"]},{"url":"https://github.com/protocolbuffers/protobuf","tags":["package"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3","tags":["web"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20240705-0001","tags":["web"]},{"url":"https://pypi.org/project/protobuf","tags":["package"]},{"url":"https://github.com/advisories/GHSA-8gq9-2x98-w8hf","tags":["advisory"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.01613,"epssPercentile":0.76465,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-1941","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-1941","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-1941","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-8gq9-2x98-w8hf","ok":true,"note":"GHSA-8gq9-2x98-w8hf"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-1941","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}