{"cve":"CVE-2022-3509","nvd":{"published":"2022-12-12T13:15:14.607","modified":"2026-06-17T04:59:39.570","status":"Modified","description":"A parsing issue similar to CVE-2022-3171, but with textformat 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-400"],"references":["https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9"],"products":["google:protobuf-java","google:protobuf-javalite"],"source":"nvd","synced_at":"2026-10-19T21:37:28.463369388+00:00"},"epss":{"cve":"CVE-2022-3509","score":0.00967,"percentile":0.61756,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g5ww-5jh7-63cx","url":"https://osv.dev/vulnerability/GHSA-g5ww-5jh7-63cx","summary":"Protobuf Java vulnerable to Uncontrolled Resource Consumption","modified":"2026-09-10T03:49:56.533130001Z","packages":[{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.0.0 <3.16.3"],"fixed":["3.16.3"]},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.17.0 <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.20.0 <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.21.0 <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.20.0 <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.21.0 <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.0.0 <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."]}