CVE-2022-3171

published 12 Oct 2022 · updated 16 Nov 2026

Memory handling vulnerability in ProtocolBuffers Java core and lite

4.3MediumCVSS 4.3EPSS 1%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in ProtocolBuffers 3.16.3, ProtocolBuffers 3.19.6, ProtocolBuffers 3.20.3 and 1 more.

A parsing issue with binary data 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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GoogleProtocolBuffers>=3.16.3 <3.16.3, >=3.19.6 <3.19.6, >=3.20.3 <3.20.3, >=3.21.7 <3.21.73.16.3, 3.19.6, 3.20.3, 3.21.7

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Google, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-3171 severity on Zeptric[![CVE-2022-3171](https://zeptric.io/badge/cve/CVE-2022-3171.svg)](https://zeptric.io/cve/CVE-2022-3171)