# CVE-2022-3509: Parsing issue in protobuf textformat

- Severity: High 7.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.97%, higher than 62% of CVEs (2026-12-01)
- Published: 2022-11-01T18:09:31.634Z
- Modified: 2026-09-10T03:49:56.533Z
- Also known as: GHSA-g5ww-5jh7-63cx
- Weaknesses: CWE-400
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Google ProtocolBuffers: from 3.21.0 before 3.21.7; from 3.20.0 before 3.20.3; from 3.19.0 before 3.19.6; from 3.16.0 before 3.16.3
- com.google.protobuf:protobuf-java (Maven): from 3.0.0 before 3.16.3; from 3.17.0 before 3.19.6; from 3.20.0 before 3.20.3; from 3.21.0 before 3.21.7
- com.google.protobuf:protobuf-javalite (Maven): from 3.20.0 before 3.20.3; from 3.21.0 before 3.21.7; from 3.0.0 before 3.16.3
- google protobuf-java: from 3.16.0 before 3.16.3; from 3.19.0 before 3.19.6; from 3.20.0 before 3.20.3; from 3.21.0 before 3.21.7
- google protobuf-javalite: from 3.16.0 before 3.16.3; from 3.17.0 before 3.19.6; from 3.20.0 before 3.20.3; from 3.21.0 before 3.21.7

## Every score

- Google: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/protocolbuffers/protobuf/commit/a3888f53317a8018e7a439bac4abeb8f3425d5e9> (patch, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3509> (advisory)
- <https://github.com/protocolbuffers/protobuf/blob/v2.6.1/java/core/src/main/java/com/google/protobuf/MessageReflection.java> (web)
- <https://github.com/protocolbuffers/protobuf/blob/v3.0.0/java/core/src/main/java/com/google/protobuf/MessageReflection.java> (web)
- <https://github.com/protocolbuffers/protobuf/tree/main/java> (package)

## Sources

- CVE List: [CVE-2022-3509](https://www.cve.org/CVERecord?id=CVE-2022-3509), CVE Terms of Use, modified 2025-04-22
- GitHub Advisory Database: [GHSA-g5ww-5jh7-63cx](https://github.com/advisories/GHSA-g5ww-5jh7-63cx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2022-3509](https://nvd.nist.gov/vuln/detail/CVE-2022-3509), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-3509 · Whole record: https://cve.day/CVE-2022-3509.json · Rebuilt by cve.day 2026-11-25T22:58:17.379Z
