{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-3509","id":"CVE-2022-3509","title":"Parsing issue in protobuf textformat","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 g","descriptionLong":"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.","published":"2022-11-01T18:09:31.634Z","updated":"2026-10-28T10:26:57.322263186Z","reserved":"2022-10-14T13:51:45.771Z","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":"Google"},"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":"Google"},{"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":"google.com"},{"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":"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 ProtocolBuffers"],"affectedProducts":[{"vendor":"Google","product":"ProtocolBuffers","defaultStatus":"unaffected","versions":[{"lessThan":"3.21.7","status":"affected","version":"3.21.0","versionType":"semver"},{"lessThan":"3.20.3","status":"affected","version":"3.20.0","versionType":"semver"},{"lessThan":"3.19.6","status":"affected","version":"3.19.0","versionType":"semver"},{"lessThan":"3.16.3","status":"affected","version":"3.16.0","versionType":"semver"}],"platforms":["all"]}],"packages":[{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":[">=3.0.0 <3.16.3",">=3.17.0 <3.19.6",">=3.20.0 <3.20.3",">=3.21.0 <3.21.7"],"fixed":["3.16.3","3.19.6","3.20.3","3.21.7"],"advisory":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":[">=3.20.0 <3.20.3",">=3.21.0 <3.21.7",">=3.0.0 <3.16.3"],"fixed":["3.20.3","3.21.7","3.16.3"],"advisory":"GHSA-g5ww-5jh7-63cx"}],"cwes":["CWE-400"],"aliases":["GHSA-g5ww-5jh7-63cx"],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","tags":["x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://github.com/protocolbuffers/protobuf/","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3509.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3509","tags":["advisory"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/v2.6.1/java/core/src/main/java/com/google/protobuf/MessageReflection.java","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/blob/v3.0.0/java/core/src/main/java/com/google/protobuf/MessageReflection.java","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/tree/main/java","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.00967,"epssPercentile":0.62468,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-3509","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-3509","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-3509","ok":true,"note":"2 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g5ww-5jh7-63cx","ok":true,"note":"GHSA-g5ww-5jh7-63cx"},{"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-3509","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}