Security mailing lists by PureSourceCode

CVE-2022-3509

HIGH 7.5CVSS 3.1

Protobuf Java vulnerable to Uncontrolled Resource Consumption

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.

Published
12 Dec 2022
Last modified
10 Sep 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-400
Also known as
GHSA-g5ww-5jh7-63cx
Sources
NVDJSONOSV GHSA-g5ww-5jh7-63cxJSON

Scores

SourceScored byVersionScoreVector / decision
NVD cve-coordination@google.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.16.0, < 3.16.3 3.16.3
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.19.0, < 3.19.6 3.19.6
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-java
cpe:2.3:a:google:protobuf-java:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.16.0, < 3.16.3 3.16.3
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.17.0, < 3.19.6 3.19.6
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.3 3.20.3
NVD google protobuf-javalite
cpe:2.3:a:google:protobuf-javalite:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-java >= 3.0.0, < 3.16.3 3.16.3
OSV Maven com.google.protobuf:protobuf-java >= 3.17.0, < 3.19.6 3.19.6
OSV Maven com.google.protobuf:protobuf-java >= 3.20.0, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-java >= 3.21.0, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-javalite >= 3.20.0, < 3.20.3 3.20.3
OSV Maven com.google.protobuf:protobuf-javalite >= 3.21.0, < 3.21.7 3.21.7
OSV Maven com.google.protobuf:protobuf-javalite >= 3.0.0, < 3.16.3 3.16.3

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 12 Dec 2022)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Dec 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.