Is com.google.protobuf:protobuf-java 3.9 vulnerable?

Maven · 3 releases from 3.9.0 to 3.9.2 · latest com.google.protobuf:protobuf-java is 4.36.2 · checked 18 Nov 2026

Yes: 5 known advisories

Yes. com.google.protobuf:protobuf-java 3.9.2, the last 3.9 release, is affected by 5 known security advisories (4 high, 1 medium), including CVE-2024-7254, CVE-2022-3510, CVE-2022-3509. Upgrade to 3.25.5 or later to fix all of them.

Upgrade with:mvn versions:use-dep-version -Dincludes=com.google.protobuf:protobuf-java -DdepVersion=3.25.5 -DforceVersion=true

Is your project on an affected com.google.protobuf:protobuf-java?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Java apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Advisories affecting com.google.protobuf:protobuf-java 3.9.2

  • HighCVE-2024-7254GHSA-735f-pc8j-v9w819 Sept 2024

    protobuf-java has potential Denial of Service issue

    Affected
    <3.25.5 · >=4.0.0-RC1 <4.27.5 · >=4.28.0-RC1 <4.28.2
    Fixed in
    3.25.5, 4.27.5, 4.28.2
  • HighCVE-2022-3510GHSA-4gg5-vx3j-xwc712 Dec 2022

    Protobuf Java vulnerable to Uncontrolled Resource Consumption

    Affected
    >=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 in
    3.16.3, 3.19.6, 3.20.3, 3.21.7
  • HighCVE-2022-3509GHSA-g5ww-5jh7-63cx12 Dec 2022

    Protobuf Java vulnerable to Uncontrolled Resource Consumption

    Affected
    >=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 in
    3.16.3, 3.19.6, 3.20.3, 3.21.7
  • MediumCVE-2022-3171GHSA-h4h5-3hr4-j3g24 Oct 2022

    protobuf-java has a potential Denial of Service issue

    Affected
    >=3.21.0-rc-1 <3.21.7 · >=3.20.0-rc-1 <3.20.3 · >=3.17.0-rc-1 <3.19.6 · <3.16.3
    Fixed in
    3.16.3, 3.19.6, 3.20.3, 3.21.7
  • HighCVE-2021-22569GHSA-wrvw-hg22-4m677 Jan 2022

    A potential Denial of Service issue in protobuf-java

    Affected
    <3.16.1 · >=3.18.0 <3.18.2 · >=3.19.0 <3.19.2
    Fixed in
    3.16.1, 3.18.2, 3.19.2

Every com.google.protobuf:protobuf-java 3.9.x release

Affected: 3.9.0 to 3.9.2. Latest com.google.protobuf:protobuf-java: 4.36.2.

VersionKnown advisories
com.google.protobuf:protobuf-java 3.9.2CVE-2024-7254, CVE-2022-3510, CVE-2022-3509, CVE-2022-3171, CVE-2021-22569
com.google.protobuf:protobuf-java 3.9.1CVE-2024-7254, CVE-2022-3510, CVE-2022-3509, CVE-2022-3171, CVE-2021-22569
com.google.protobuf:protobuf-java 3.9.0CVE-2024-7254, CVE-2022-3510, CVE-2022-3509, CVE-2022-3171, CVE-2021-22569

Which of your client projects are still on com.google.protobuf:protobuf-java 3.9?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact com.google.protobuf:protobuf-java version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other com.google.protobuf:protobuf-java versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the Maven registry. Refreshed daily.