CVE-2022-3510Google Protobuf-java
High 7.5 No auth needed
Follow: this CVE · Google · Google Protobuf-java We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Protobuf-java.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| protobuf-java | ≥ 3.16.0 < 3.16.3 | |
| protobuf-java | ≥ 3.19.0 < 3.19.6 | |
| protobuf-java | ≥ 3.20.0 < 3.20.3 | |
| protobuf-java | ≥ 3.21.0 < 3.21.7 | |
| protobuf-javalite | ≥ 3.16.0 < 3.16.3 | |
| protobuf-javalite | ≥ 3.17.0 < 3.19.6 | |
| protobuf-javalite | ≥ 3.20.0 < 3.20.3 | |
| protobuf-javalite | ≥ 3.21.0 < 3.21.7 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory