# CVE-2021-22570: Nullptr Dereference in Protobuf

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2022-01-26 · Modified: 2025-04-21
- Aliases: SUSE-SU-2022:1040-1, SUSE-SU-2022:1040-2, SUSE-SU-2022:1040-3, GHSA-77rm-9x9h-xj3g, PYSEC-2022-48, RHSA-2022:7464, RHSA-2022:7970, RHSA-2022:8847, RHSA-2022:8860, RHSA-2024:3433, UBUNTU-CVE-2021-22570, USN-5490-1, DEBIAN-CVE-2021-22570, CGA-472w-p6fg-r534, CGA-jqgx-x7mp-vw84, openSUSE-SU-2022:0823-1, openSUSE-SU-2022:1040-1, CGA-25jr-4w8c-rc5j, CGA-25v3-crq7-v97m, CGA-4q58-6rc5-2fr2, CGA-552j-64rv-jwrg, CGA-6g23-4jq4-v54g, CGA-6hfc-gcfg-4w9x, CGA-7hwj-7m33-5qhc, CGA-cxr3-5vw5-w2qx, CGA-f5p7-cmx2-pxq4, CGA-f8c8-4953-7q44, CGA-g5qm-ff9p-vv23, CGA-m75r-rgm5-895g, CGA-mj43-3qr9-p8jh, CGA-q56q-w6p4-2g7q, CGA-q6qh-v3ch-7wv6, CGA-rfwf-26q4-vgch, CGA-rjmv-4j86-p24h, CGA-vfr3-692x-488w
- Record: https://cvemate.com/vulnerability/CVE-2021-22570 · JSON: https://cvemate.com/vulnerability/CVE-2021-22570/json

## Description

```text
Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, leading to an unchecked call into the proto file's name during generation of the resulting error message. Since the symbol is incorrectly parsed, the file is nullptr. We recommend upgrading to version 3.15.0 or greater.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
- EPSS: 2.514%, percentile 85.321%, 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 61)

- chainguard druid (Chainguard): \< 34.0.0-r6
- chainguard hadoop-client-modules (Chainguard): \< 3.3.6-r7
- chainguard mysql-8.0 (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-client (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-dev (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-iamguarded-compat (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-oci-entrypoint (Chainguard): \< 8.0.38-r0
- chainguard mysql-8.0-oci-entrypoint-compat (Chainguard): \< 8.0.38-r0
- chainguard spark-3.5-scala-2.12 (Chainguard): \< 3.5.7-r2
- chainguard spark-fips-3.5-scala-2.12 (Chainguard): \< 3.5.4-r17
- wolfi druid (Wolfi): \< 34.0.0-r6
- google protobuf (Packagist): \< 3.15.0
- debian protobuf (Debian): \< 3.21.9-3
- ubuntu protobuf (Ubuntu): \< 2.5.0-9ubuntu1+esm1 \| \< 2.6.1-1.3ubuntu0.1~esm1 \| \< 3.0.0-9.1ubuntu1.1 \| \< 3.6.1.3-2ubuntu5.2 \| \< 3.12.4-1ubuntu7.22.04.1
- debian debian\_linux: 9.0 \| 10.0 \| 11.0
- fedoraproject fedora: 34 \| 35 \| 36
- github.com/protocolbuffers protobuf (Go): \< 0.0.0-20210218195015-ae50d9b99025 \| ≥ 0.0.0, \< 3.15.0
- google llc protobuf: ≥ unspecified, \< 3.15.0
- google protobuf: \< 3.15.0
- com.google.protobuf protobuf-java (Maven): \< 3.15.0

## References (first 20 of 52)

- <https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B/>
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE/>
- <https://www.oracle.com/security-alerts/cpuapr2022.html>
- <https://security.netapp.com/advisory/ntap-20220429-0005/>
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221040-1/>
- <https://bugzilla.suse.com/1195258>
- <https://www.suse.com/security/cve/CVE-2021-22570>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221040-2/>
- <https://www.suse.com/support/update/announcement/2022/suse-su-20221040-3/>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22570>
- <https://github.com/advisories/GHSA-77rm-9x9h-xj3g>
- <https://github.com/protocolbuffers/protobuf>
- <https://github.com/pypa/advisory-database/tree/main/vulns/protobuf/PYSEC-2022-48.yaml>

---

Data as of 2026-12-05T02:38:24.541Z. 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
