# CVE-2022-3171: Memory handling vulnerability in ProtocolBuffers Java core and lite

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, adjacent network); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-10-12 · Modified: 2025-04-21
- Aliases: UBUNTU-CVE-2022-3171, DEBIAN-CVE-2022-3171, CGA-24jp-vvm7-hjff, CGA-25jv-f2vg-x25m, CGA-2fxp-x93q-mq2w, CGA-2mm7-6m7m-22xm, CGA-2pjw-pff8-3p6v, CGA-2q58-5g56-2wc6, CGA-349g-5v6v-732j, CGA-3h4c-6x7q-3w84, CGA-3rpw-hw5j-392r, CGA-42cx-m64r-g8fq, CGA-4gq4-g2gw-4m5w, CGA-4hch-4gm4-8pfw, CGA-5f86-ccw4-2crq, CGA-5fgw-w787-2vp9, CGA-5gf9-mrv5-2w6v, CGA-5hv3-633w-8g6j, CGA-5mpr-829g-g8mr, CGA-5mw8-9h7x-fg24, CGA-5w5x-vvxc-pvwh, CGA-62jr-93mc-fmrf, CGA-64pm-5hx5-88p5, CGA-672g-8m36-m6hr, CGA-678w-27jc-gxp2, CGA-6f7c-f6c4-2mjp, CGA-6fgh-qrg6-87h3, CGA-6fjv-94xf-x4hc, CGA-6gmj-qpg5-7jvp, CGA-6q6p-pjgx-q68r, CGA-755x-p5hx-r863, CGA-763w-g3hh-7qr8, CGA-77x4-2fqv-6mqx, CGA-785g-99wm-v8h4, CGA-7m7g-6jmx-rcm5, CGA-7rwr-g2qm-f637, CGA-7v96-39f9-46rm, CGA-7vhp-3h3x-frq9, CGA-7x5h-8rj4-w2mc, CGA-82qg-pqjx-hxh9, CGA-882h-2pf6-r4mf, CGA-883v-c2xc-jv4f, CGA-8cpv-fxr8-wq6g, CGA-8g3m-g4wv-5cjm, CGA-8gjv-q566-x36v, CGA-8gpq-jw48-j944, CGA-8h8m-2xrv-hr97, CGA-8hfx-m6qx-j76w, CGA-8qgv-qppp-r6r8, CGA-99fr-hp32-cvm9, CGA-9fmw-2m2h-w9fg, CGA-9g72-mw4f-74q4, CGA-9p52-9hpv-qq6p, CGA-9r75-6j3g-xfwr, CGA-c346-rgfp-gmh9, CGA-c77f-46q8-5rq9, CGA-c9mh-gm57-848j, CGA-cf2c-rpw7-53f2, CGA-cf8c-5gr7-6vgc, CGA-cm2m-p568-9g38, CGA-f622-5v56-j6pv, CGA-f74h-x7v9-m78f, CGA-fc2w-9gph-6728, CGA-fc9x-2gx5-p7cf, CGA-fx29-f7vg-q28v, CGA-g937-4345-7gj8, CGA-gjm3-vx7c-xxhc, CGA-grjv-c246-3j6j, CGA-gxjc-m984-r3wg, CGA-h382-w83c-6p62, CGA-h3cx-qp34-2g9r, CGA-h3q4-xjc3-8wr4, CGA-h89j-hgv9-7gp7, CGA-hrg7-ccgp-4945, CGA-hvq2-w8hp-wqp7, CGA-j3gm-crhf-8jfj, CGA-j5xm-86c4-g9m7, CGA-j65x-5525-c76q, CGA-j6v8-wpvc-qhgx, CGA-j7fq-xxvr-42w7, CGA-jmm2-28h6-93mm, CGA-jp7h-92m9-93jx, CGA-jv6p-j4cj-92p8, CGA-m5ff-xrvw-g7m3, CGA-m5j7-7vm9-2h9m, CGA-m73q-h4vm-qwx4, CGA-mmfq-h74g-5v7p, CGA-mq88-39mr-6f79, CGA-mrg4-hfgw-gg9v, CGA-mxq4-j3p7-2qjc, CGA-p44h-j9cm-7w2p, CGA-p78p-v8rj-wjjv, CGA-p9q8-v4px-p9c5, CGA-pg5g-9c6x-963p, CGA-pmqp-rm4j-x456, CGA-pqf4-285x-cmxw, CGA-q273-jj2x-4q7h, CGA-q3wf-5368-v5xg, CGA-q6hm-qg48-x98j, CGA-qcqw-vcjx-2r57, CGA-qfh5-qvhc-3cgr, CGA-qmhc-jq94-8pph, CGA-qpc5-c33v-cj55, CGA-qrrg-v8wf-r473, CGA-qv2f-hm53-5286, CGA-qwhq-3vwp-m9ff, CGA-r3qv-qr4v-rwhr, CGA-r43m-jw7r-h4xx, CGA-r5jg-vp2f-ffc7, CGA-r62q-4hpw-q257, CGA-r655-7c9r-3qwp, CGA-rch8-rx4h-c826, CGA-rgp4-6932-ccv7, CGA-rmc9-7m9f-2fmf, CGA-rmj3-vq7j-hm5w, CGA-rv9w-6xf8-r5vm, CGA-rwxv-m2h6-f9jc, CGA-vf5h-85f4-wr28, CGA-vffg-xqfr-x8h7, CGA-vfmr-q85f-p79p, CGA-vrcv-v58q-933r, CGA-vxfx-h8px-xv43, CGA-wcvw-px8v-r558, CGA-wg82-g7jh-h2cj, CGA-wxpx-9xpx-p6rw, CGA-wxqx-mhv2-xm4j, CGA-x5qm-r7x5-36rv, CGA-x79c-3pwh-66vr, CGA-x8qm-vrmm-wmxw, CGA-xc39-mvfj-89vx, CGA-22gf-vg49-xw5q, CGA-27w2-pq3p-gjx9, CGA-2qgm-75g4-fxp6, CGA-429m-42f9-jjqp, CGA-56m6-7j7p-jcr2, CGA-5m96-pj3v-m9xr, CGA-6gp3-2r5v-hc4f, CGA-75xx-gwcf-8fhx, CGA-8m73-7w2w-7pgf, CGA-9rpx-68w4-x739, CGA-9v4g-r5cx-c6qc, CGA-c2qh-m86h-pr9p, CGA-c3hv-vxhq-grjw, CGA-chj5-wq32-h364, CGA-cxpc-6mr4-4gm3, CGA-fcm6-vccw-x6gv, CGA-g2j4-pgv6-76hc, CGA-gph8-j8wx-gmmh, CGA-gpvm-59mq-26px, CGA-h4pp-fm3q-fg4q, CGA-h5xq-hr7r-4gfq, CGA-hp8h-jgmr-5859, CGA-j377-rh2w-89g3, CGA-j3fg-g7fh-27mg, GHSA-h4h5-3hr4-j3g2, CGA-q2rx-f8c6-hvq3, CGA-qgv9-mj9p-2968, CGA-qmqp-vrc5-qp7r, CGA-r6rh-vgx5-g7jq, CGA-v5f8-h3ff-7qrr, CGA-vm27-jwfr-287m, CGA-w989-8p85-vc5x, CGA-xf9r-rgr9-vj98, CGA-xhc3-89qf-6v6w, CGA-xpm9-8cpv-v7qh, CGA-xpx4-f475-9c8m, CGA-xv99-885p-2xw8, CGA-5fjp-g7cj-c82g, CGA-4w6p-wwrw-92jv, CGA-jrm5-pvpv-4xvh, CGA-xqvf-68qx-x4r4, CGA-39cp-2gcj-4627, CGA-4wp5-527m-4x8x, CGA-rmm2-xhq6-7fv5, CGA-g8gp-gw82-qcmg, CGA-jcxf-m698-v7hp, CGA-j5rr-j89m-4q72, CGA-pgpr-5x9h-3898, CGA-jg5c-r366-2fr8, CGA-rj88-3xwm-w6wv, CGA-7v5m-6g5h-x7j9, CGA-p92g-v8p2-j4w4
- Record: https://cvemate.com/vulnerability/CVE-2022-3171 · JSON: https://cvemate.com/vulnerability/CVE-2022-3171/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 1.278%, percentile 70.971%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected (first 20 of 148)

- chainguard celeborn-0.5 (Chainguard): \< 0.5.4-r26
- chainguard celeborn-0.6 (Chainguard): \< 0.6.3-r7
- chainguard druid (Chainguard): \< 37.0.0-r14 \| \< 34.0.0-r6 \| All versions (No fix recorded) \| \< 38.0.0-r0
- chainguard emsdk (Chainguard): \< 5.0.0-r1
- chainguard hadoop-3.5 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-client-modules (Chainguard): \< 3.3.6-r8
- chainguard hadoop-fips-3.3.6 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.4.2 (Chainguard): All versions (No fix recorded)
- chainguard hadoop-fips-3.5 (Chainguard): All versions (No fix recorded)
- chainguard ranger (Chainguard): All versions (No fix recorded)
- chainguard spark-3.5-scala-2.12 (Chainguard): All versions (No fix recorded) \| \< 3.5.9-r10
- chainguard spark-3.5-scala-2.13 (Chainguard): All versions (No fix recorded) \| \< 3.5.9-r10
- chainguard spark-fips-3.5-scala-2.12 (Chainguard): All versions (No fix recorded) \| \< 3.5.8-r14
- chainguard spark-fips-3.5-scala-2.13 (Chainguard): All versions (No fix recorded) \| \< 3.5.8-r14
- chainguard trino (Chainguard): \< 439-r0
- chainguard trino-config (Chainguard): \< 439-r0
- chainguard trino-oci-entrypoint (Chainguard): \< 439-r0
- chainguard trino-plugin-ai-functions (Chainguard): \< 439-r0
- chainguard trino-plugin-bigquery (Chainguard): \< 439-r0
- chainguard trino-plugin-blackhole (Chainguard): \< 439-r0

## References

- <https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-h4h5-3hr4-j3g2>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3/>
- <https://security.gentoo.org/glsa/202301-09>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP/>
- <https://ubuntu.com/security/CVE-2022-3171>
- <https://www.cve.org/CVERecord?id=CVE-2022-3171>
- <https://security-tracker.debian.org/tracker/CVE-2022-3171>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/3xxx/CVE-2022-3171.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2022-3171>
- <https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=48771>
- <https://github.com/protocolbuffers/protobuf>
- <https://github.com/protocolbuffers/protobuf/releases/tag/v21.7>
- <https://github.com/protocolbuffers/protobuf/releases/tag/v3.16.3>
- <https://github.com/protocolbuffers/protobuf/releases/tag/v3.19.6>
- <https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.3>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google-protobuf/CVE-2022-3171.yml>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/CBAUKJQL6O4TIWYBENORSY5P43TVB4M3>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MPCGUT3T5L6C3IDWUPSUO22QDCGQKTOP>

---

Data as of 2026-12-05T02:45:50.180Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
