{"cve":"CVE-2022-3171","nvd":{"published":"2022-10-12T23:15:09.807","modified":"2026-06-17T04:58:59.997","status":"Modified","description":"A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage collection pauses. We recommend updating to the versions mentioned above.","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-20"],"references":["https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/","https://security.gentoo.org/glsa/202301-09","https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2"],"products":["fedoraproject:fedora","google:google-protobuf","google:protobuf-java","google:protobuf-javalite","google:protobuf-kotlin","google:protobuf-kotlin-lite"],"source":"nvd","synced_at":"2026-10-19T21:36:05.460296998+00:00"},"epss":{"cve":"CVE-2022-3171","score":0.01278,"percentile":0.69997,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h4h5-3hr4-j3g2","url":"https://osv.dev/vulnerability/GHSA-h4h5-3hr4-j3g2","summary":"protobuf-java has a potential Denial of Service issue","modified":"2026-09-10T03:49:50.454391245Z","packages":[{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.21.0-rc-1 <3.21.7"],"fixed":["3.21.7"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","ranges":[">=3.21.0-rc-1 <3.21.7"],"fixed":["3.21.7"]},{"ecosystem":"RubyGems","name":"google-protobuf","purl":"pkg:gem/google-protobuf","ranges":[">=3.21.0.rc.1 <3.21.7"],"fixed":["3.21.7"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":[">=3.21.0-rc-1 <3.21.7"],"fixed":["3.21.7"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin-lite","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin-lite","ranges":[">=3.21.0-rc-1 <3.21.7"],"fixed":["3.21.7"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.20.0-rc-1 <3.20.3"],"fixed":["3.20.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.17.0-rc-1 <3.19.6"],"fixed":["3.19.6"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":["<3.16.3"],"fixed":["3.16.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","ranges":[">=3.20.0-rc-1 <3.20.3"],"fixed":["3.20.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","ranges":[">=3.17.0-rc-1 <3.19.6"],"fixed":["3.19.6"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","ranges":["<3.16.3"],"fixed":["3.16.3"]},{"ecosystem":"RubyGems","name":"google-protobuf","purl":"pkg:gem/google-protobuf","ranges":[">=3.20.0.rc.1 <3.20.3"],"fixed":["3.20.3"]},{"ecosystem":"RubyGems","name":"google-protobuf","purl":"pkg:gem/google-protobuf","ranges":[">=3.17.0.rc.1 <3.19.6"],"fixed":["3.19.6"]},{"ecosystem":"RubyGems","name":"google-protobuf","purl":"pkg:gem/google-protobuf","ranges":["<3.16.3"],"fixed":["3.16.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":[">=3.20.0-rc-1 <3.20.3"],"fixed":["3.20.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":[">=3.17.0-rc-1 <3.19.6"],"fixed":["3.19.6"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":["<3.16.3"],"fixed":["3.16.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin-lite","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin-lite","ranges":[">=3.20.0-rc-1 <3.20.3"],"fixed":["3.20.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin-lite","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin-lite","ranges":[">=3.17.0-rc-1 <3.19.6"],"fixed":["3.19.6"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin-lite","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin-lite","ranges":["<3.16.3"],"fixed":["3.16.3"]}]}],"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."]}