{"answers":{"affected":"14 open source packages ship an affected version, including com.google.protobuf:protobuf-java and com.google.protobuf:protobuf-javalite. It affects 2 products.","exploited":"There is no known exploitation of CVE-2022-3509 in the wild and no public exploit code.","fix":"Upgrade com.google.protobuf:protobuf-java to a fixed version for your release line: 3.16.3, 3.19.6, 3.20.3 or 3.21.7.","what":"CVE-2022-3509 is a high-severity denial of service vulnerability in Google ProtocolBuffers, published on 1 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2022-3509 and fix it if it is affected.\n\nWhat it is: CVE-2022-3509 is a high-severity denial of service vulnerability in Google ProtocolBuffers, published on 1 Nov 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2022-3509 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- com.google.protobuf:protobuf-java (Maven): affected from 3.0.0; fixed in 3.16.3\n- com.google.protobuf:protobuf-java (Maven): affected from 3.0.0; fixed in 3.16.3\n- com.google.protobuf:protobuf-java (Maven): affected from 3.17.0; fixed in 3.19.6\n- com.google.protobuf:protobuf-java (Maven): affected from 3.17.0; fixed in 3.19.6\n- com.google.protobuf:protobuf-java (Maven): affected from 3.20.0; fixed in 3.20.3\n- com.google.protobuf:protobuf-java (Maven): affected from 3.20.0; fixed in 3.20.3\n- com.google.protobuf:protobuf-java (Maven): affected from 3.21.0; fixed in 3.21.7\n- com.google.protobuf:protobuf-java (Maven): affected from 3.21.0; fixed in 3.21.7\n- com.google.protobuf:protobuf-javalite (Maven): affected from 3.0.0; fixed in 3.16.3\n- com.google.protobuf:protobuf-javalite (Maven): affected from 3.0.0; fixed in 3.16.3\n- com.google.protobuf:protobuf-javalite (Maven): affected from 3.20.0; fixed in 3.20.3\n- com.google.protobuf:protobuf-javalite (Maven): affected from 3.20.0; fixed in 3.20.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2022-3509/ (Markdown: https://insights.sbomify.com/CVE-2022-3509/index.md)","id":"CVE-2022-3509","markdown":"https://insights.sbomify.com/CVE-2022-3509/index.md","name":"CVE-2022-3509","record":{"aliases":["CLEANSTART-2026-HK32575","CLEANSTART-2026-RG72444","CLSA-2026-1777250321","CLSA-2026-1791960535","CLSA-2026-1791965654","DEBIAN-CVE-2022-3509","ECHO-cb2d-96ce-c6cf","GHSA-g5ww-5jh7-63cx","MINI-298f-2f9j-w7hc","MINI-5952-hvxc-ggf8","MINI-796h-248r-w9xg","MINI-jc2w-mg43-2m5r","MINI-m948-jxg7-cq62","MINI-p7jf-pc42-c7j2","MINI-qcgh-pc5j-6hrq","ROOT-APP-MAVEN-CVE-2022-3509","UBUNTU-CVE-2022-3509"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Java Protocol Buffers","requires_auth":"none","summary":"Attackers can cause denial of service via long garbage collection pauses by sending crafted protobuf textformat inputs to applications using vulnerable Java libraries.","user_interaction":"not_required","vuln_class":"denial_of_service"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"Google","cpe":[{"product":"protobuf-java","vendor":"google"},{"product":"protobuf-javalite","vendor":"google"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":"2026-10-20","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-10-20T09:56:22Z","kind":"github_poc","ref":"https://github.com/toluwanimidurosomo/CYB-401-","stars":0,"title":"Details of CVE-2022-3509 vulnerability"}],"tier":"poc_unverified"},"has_fix":true,"headline":"Parsing issue in protobuf textformat","id":"CVE-2022-3509","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"denial_of_service","year":"2022"},"n_packages":14,"n_references":1,"next":{"headline":"Parsing issue in protobuf message-type extension","id":"CVE-2022-3510"},"packages":[{"ecosystem":"Maven","fixed":["3.16.3"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.16.3"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.19.6"],"introduced":["3.17.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.19.6"],"introduced":["3.17.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.20.3"],"introduced":["3.20.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.20.3"],"introduced":["3.20.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.21.7"],"introduced":["3.21.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.21.7"],"introduced":["3.21.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.16.3"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.16.3"],"introduced":["3.0.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.20.3"],"introduced":["3.20.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.20.3"],"introduced":["3.20.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.21.7"],"introduced":["3.21.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":null,"source":"GHSA-g5ww-5jh7-63cx"},{"ecosystem":"Maven","fixed":["3.21.7"],"introduced":["3.21.0"],"last_affected":[],"package":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","source":"GHSA-g5ww-5jh7-63cx"}],"prev":{"headline":"Cross-site Scripting (XSS) - Stored in barrykooij/related-posts-for-wp","id":"CVE-2022-3506"},"products":["ProtocolBuffers"],"published":"2022-11-01","related":[{"cvss_score":7.5,"headline":"Parsing issue in protobuf message-type extension","id":"CVE-2022-3510","kev_date_added":null,"published":"2022-11-11"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-04-22","vendors":["Google"]},"summary":"Attackers can cause denial of service via long garbage collection pauses by sending crafted protobuf textformat inputs to applications using vulnerable Java libraries.","url":"https://insights.sbomify.com/CVE-2022-3509/"}