{"id":"CVE-2022-3509","summary":"Parsing issue in protobuf textformat","details":"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.","aliases":["GHSA-g5ww-5jh7-63cx"],"modified":"2026-11-11T02:45:54.523641662Z","published":"2022-11-01T18:09:31.634Z","database_specific":{"cna_assigner":"Google","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3509.json"},"references":[{"type":"WEB","url":"https://github.com/protocolbuffers/protobuf/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3509.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3509"},{"type":"FIX","url":"https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/protocolbuffers/protobuf","events":[{"introduced":"2dc747c574b68a808ea4699d26942c8132fe2b09"},{"fixed":"b8c2488f480bbe3d66b9874c2fcd434201caa48a"},{"introduced":"17b30e96476be70b8773b2b807bab857fd3ceb39"},{"fixed":"5cba162a5d93f8df786d828621019e03e50edb4f"},{"introduced":"bc799d78f81115940eec953e2937245c70e3e6e4"},{"fixed":"fe271ab76f2ad2b2b28c10443865d2af21e27e0e"},{"introduced":"7062d0a2d0075d5e7d5c294fd3984df67a976da3"},{"fixed":"54489e95e01882407f356f83c9074415e561db00"},{"introduced":"652d99a8ee8aa6b801e11977951fbf444cfccc8f"},{"fixed":"5cba162a5d93f8df786d828621019e03e50edb4f"},{"fixed":"a3888f53317a8018e7a439bac4abeb8f3425d5e9"}],"database_specific":{"extracted_events":[{"cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","range":[{"introduced":"3.16.0"},{"fixed":"3.16.3"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*","range":[{"introduced":"3.16.0"},{"fixed":"3.16.3"}]},{"cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","range":[{"introduced":"3.19.0"},{"fixed":"3.19.6"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","range":[{"introduced":"3.20.0"},{"fixed":"3.20.3"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.20.0"},{"fixed":"3.20.3"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*"},{"cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","range":[{"introduced":"3.21.0"},{"fixed":"3.21.7"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*","range":[{"introduced":"3.21.0"},{"fixed":"3.21.7"}],"source":"CPE_RANGE"},{"range":[{"introduced":"3.17.0"},{"fixed":"3.19.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*"},{"range":[{"fixed":"a3888f53317a8018e7a439bac4abeb8f3425d5e9"}],"source":"REFERENCES_COMMIT"}]}}],"versions":["v3.20.1","v3.16.1","v3.19.4","v3.20.1-rc1","v3.20.0-rc3","v3.20.0","v3.19.3","v3.19.2","v3.16.0","v3.19.1","v3.19.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2022-3509.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"}]}