Live threats

All CVEs / Google

CVE-2022-3510Google Protobuf-java

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
0.5%
probability of exploitation in 30 days · percentile 33
Auth required
No
Published
Dec 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions 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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Protobuf-java.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven com.google.protobuf:protobuf-java ≥ 3.0.0 < 3.16.3 3.16.3 —
Maven com.google.protobuf:protobuf-java ≥ 3.17.0 < 3.19.6 3.19.6 —
Maven com.google.protobuf:protobuf-java ≥ 3.20.0 < 3.20.3 3.20.3 —
Maven com.google.protobuf:protobuf-java ≥ 3.21.0 < 3.21.7 3.21.7 —
Maven com.google.protobuf:protobuf-javalite ≥ 3.0.0 < 3.16.3 3.16.3 —
Maven com.google.protobuf:protobuf-javalite ≥ 3.17.0 < 3.19.6 3.19.6 —
Maven com.google.protobuf:protobuf-javalite ≥ 3.20.0 < 3.20.3 3.20.3 —
Maven com.google.protobuf:protobuf-javalite ≥ 3.21.0 < 3.21.7 3.21.7 —

Per OSV / GitHub Advisories (GHSA-4gg5-vx3j-xwc7). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
googleprotobuf-java≥ 3.16.0 < 3.16.3
googleprotobuf-java≥ 3.19.0 < 3.19.6
googleprotobuf-java≥ 3.20.0 < 3.20.3
googleprotobuf-java≥ 3.21.0 < 3.21.7
googleprotobuf-javalite≥ 3.16.0 < 3.16.3
googleprotobuf-javalite≥ 3.17.0 < 3.19.6
googleprotobuf-javalite≥ 3.20.0 < 3.20.3
googleprotobuf-javalite≥ 3.21.0 < 3.21.7

Official sources

References

Links published by the sources. Open them with care.