{"id":"CVE-2022-3509","published":"2022-11-01T18:09:31Z","modified":"2025-04-22T15:10:13Z","title":"Parsing issue in protobuf textformat","vendor":"Google","product":"ProtocolBuffers","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00967,"percentile":0.62584,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","tags":[]}],"priority":{"score":22.8,"factors":[{"name":"EPSS percentile","points":12.52},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.25}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-10-20","earliestUrl":"https://github.com/toluwanimidurosomo/CYB-401-","repos":[{"name":"toluwanimidurosomo/CYB-401-","url":"https://github.com/toluwanimidurosomo/CYB-401-","stars":0,"created":"2026-10-20"}]},"first":{"date":"2026-10-20","source":"PoC-in-GitHub","url":"https://github.com/toluwanimidurosomo/CYB-401-"},"provenance":"source"},"vendorSlug":"google","affectedVersions":[{"vendor":"Google","product":"ProtocolBuffers","versions":[">= 3.21.0, < 3.21.7",">= 3.20.0, < 3.20.3",">= 3.19.0, < 3.19.6",">= 3.16.0, < 3.16.3"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2025-04-22T15:09:47.292910Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-java","vulnerableRanges":[">=3.0.0, <3.16.3",">=3.17.0, <3.19.6",">=3.20.0, <3.20.3",">=3.21.0, <3.21.7"],"patched":["3.16.3","3.19.6","3.20.3","3.21.7"],"from":["GHSA-g5ww-5jh7-63cx"],"provenance":"source"},{"ecosystem":"Maven","package":"com.google.protobuf:protobuf-javalite","vulnerableRanges":[">=3.20.0, <3.20.3",">=3.21.0, <3.21.7",">=3.0.0, <3.16.3"],"patched":["3.20.3","3.21.7","3.16.3"],"from":["GHSA-g5ww-5jh7-63cx"],"provenance":"source"}],"summary":{"text":"A parsing flaw in the textformat component of Google's ProtocolBuffers protobuf-java core and lite libraries causes objects to be repeatedly converted between mutable and immutable forms when inputs contain multiple instances of non-repeated embedded messages with repeated or unknown fields. An remote attacker with no privileges and no user interaction can send such crafted input to trigger long garbage collection pauses and a denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T20:45:30Z"},"euvd":{"id":"EUVD-2022-7625","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-google-protocolbuffers-cve-2022-3509","parents":[{"from":"CVE-2022-3171","to":"CVE-2022-3509","relation":"related","confidence":"low","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"related","quote":"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.","from":"CVE.org","in":"CVE-2022-3509"}]}],"children":[{"from":"CVE-2022-3509","to":"CVE-2022-3510","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["java/core/src/main/java/com/google/protobuf/MessageReflection.java"],"commits":["https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9","https://github.com/protocolbuffers/protobuf/commit/db7c17803320525722f45c1d26fc08bc41d1bf48"],"basis":"shared function","functions":["clearField","getField","getUtf8Validation","mergeGroup","mergeMessage"]},{"kind":"similar","provenance":"machine","score":0.93,"basis":"same product + CWE + description similarity"}]}],"packageHistory":[{"cve":"CVE-2021-22569","published":"2022-01-07","fixed":"3.19.2","kev":false,"link":{"from":"CVE-2021-22569","to":"CVE-2022-3509","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:com.google.protobuf:protobuf-java","fromFixed":"3.16.1","toFixed":"3.16.3","daysApart":298}]}},{"cve":"CVE-2022-3171","published":"2022-10-12","fixed":"3.21.7","kev":false},{"cve":"CVE-2022-3509","published":"2022-11-01","fixed":"3.21.7","kev":false},{"cve":"CVE-2022-3510","published":"2022-11-11","fixed":"3.21.7","kev":false},{"cve":"CVE-2024-7254","published":"2024-09-19","fixed":"4.28.2","kev":false}],"package":"Maven:com.google.protobuf:protobuf-java"}}