{"id":"CVE-2022-3509","aliases":["CVE-2022-3509","GHSA-g5ww-5jh7-63cx"],"related":[],"kind":"vulnerability","state":"published","title":"Parsing issue in protobuf textformat","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Un problema de análisis similar a CVE-2022-3171, pero con formato de texto en las versiones core y lite de protobuf-java anteriores a 3.21.7, 3.20.3, 3.19.6 y 3.16.3 puede provocar un ataque de Denegación de Servicio (DoS). Las entradas que contienen múltiples instancias de mensajes incrustados no repetidos con campos repetidos o desconocidos hacen que los objetos se conviertan de un lado a otro entre formas mutables e inmutables, lo que resulta en pausas de recolección de basura potencialmente largas. Recomendamos actualizar a las versiones mencionadas anteriormente.","source":"nvd"}],"published":"2022-11-01T18:09:31.634Z","modified":"2026-09-10T03:49:56.533Z","severity":{"scorer":"Google","scheme":"CVSS: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,"rating":"HIGH"},"severities":[{"scorer":"Google","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS: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,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS: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,"rating":"HIGH"}],"cwes":["CWE-400"],"affected":[{"ranges":[{"type":"semver","introduced":"3.21.0","fixed":"3.21.7","status":"affected"},{"type":"semver","introduced":"3.20.0","fixed":"3.20.3","status":"affected"},{"type":"semver","introduced":"3.19.0","fixed":"3.19.6","status":"affected"},{"type":"semver","introduced":"3.16.0","fixed":"3.16.3","status":"affected"}],"vendor":"Google","product":"ProtocolBuffers","repo":"https://github.com/protocolbuffers/protobuf/","platforms":["all"],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.16.3"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.17.0","status":"affected","fixed":"3.19.6"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.20.0","status":"affected","fixed":"3.20.3"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.21.0","status":"affected","fixed":"3.21.7"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.20.0","status":"affected","fixed":"3.20.3"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.21.0","status":"affected","fixed":"3.21.7"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3.0.0","status":"affected","fixed":"3.16.3"}],"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"3.16.0","fixed":"3.16.3"},{"status":"affected","introduced":"3.19.0","fixed":"3.19.6"},{"status":"affected","introduced":"3.20.0","fixed":"3.20.3"},{"status":"affected","introduced":"3.21.0","fixed":"3.21.7"}],"vendor":"google","product":"protobuf-java","cpe":"cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","introduced":"3.16.0","fixed":"3.16.3"},{"status":"affected","introduced":"3.17.0","fixed":"3.19.6"},{"status":"affected","introduced":"3.20.0","fixed":"3.20.3"},{"status":"affected","introduced":"3.21.0","fixed":"3.21.7"}],"vendor":"google","product":"protobuf-javalite","cpe":"cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","tags":["patch","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3509","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/v2.6.1/java/core/src/main/java/com/google/protobuf/MessageReflection.java","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/v3.0.0/java/core/src/main/java/com/google/protobuf/MessageReflection.java","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/protocolbuffers/protobuf/tree/main/java","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"Google","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2025-04-22T15:09:47.292Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-3509","url":"https://www.cve.org/CVERecord?id=CVE-2022-3509","licence":"CVE Terms of Use","modified":"2025-04-22T15:10:13.149Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-g5ww-5jh7-63cx","url":"https://github.com/advisories/GHSA-g5ww-5jh7-63cx","licence":"CC-BY-4.0","modified":"2026-09-10T03:49:56.533Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-3509","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3509","licence":"Public domain","modified":"2026-06-17T04:59:39.570Z"}],"updatedAt":"2026-11-25T22:58:17.379Z","epss":{"score":0.00967,"percentile":0.62754,"date":"2026-12-01T12:00:22.000Z"}}