# CVE-2021-22570: Nullptr Dereference in Protobuf

- Severity: Medium 6.5 (CVSS:3.1, scored by Google) `CVSS:3.1/AV:N/AC:L/PR:L/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): 2.51%, higher than 85% of CVEs (2026-12-01)
- Published: 2022-01-26T00:00:00.000Z
- Modified: 2026-09-10T03:49:11.266Z
- Also known as: GHSA-77rm-9x9h-xj3g, PYSEC-2022-48
- Weaknesses: CWE-476
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Google

## Description

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.

(As written by CVE List.)

## Affected

- Google LLC Protobuf: from unspecified before 3.15.0
- Google.Protobuf (NuGet): before 3.15.0
- google/protobuf (Packagist): before 3.15.0
- com.google.protobuf:protobuf-java (Maven): before 3.15.0
- github.com/protocolbuffers/protobuf (Go): before 0.0.0-20210218195015-ae50d9b99025; from 0.0.0 before 3.15.0
- protobuf (PyPI): before 3.15.0
- google protobuf: before 3.15.0
- debian debian_linux: 9.0; 10.0; 11.0
- fedoraproject fedora: 34; 35; 36
- oracle mysql: up to 8.0.28
- netapp active_iq_unified_manager: no versions given
- netapp oncommand_insight: no versions given
- netapp oncommand_workflow_automation: no versions given
- netapp snapcenter: no versions given

## Every score

- Google: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/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`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:2.0 2.1 Low `AV:L/AC:L/Au:N/C:N/I:N/A:P`

## References

- <https://github.com/protocolbuffers/protobuf/releases/tag/v3.15.0> (release-notes, third-party-advisory, web)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B/> (vendor-advisory)
- <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE/> (vendor-advisory)
- <https://www.oracle.com/security-alerts/cpuapr2022.html> (third-party-advisory, web)
- <https://security.netapp.com/advisory/ntap-20220429-0005/> (third-party-advisory)
- <https://lists.debian.org/debian-lts-announce/2023/04/msg00019.html> (mailing-list, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-22570> (advisory)
- <https://github.com/advisories/GHSA-77rm-9x9h-xj3g> (advisory)
- <https://github.com/protocolbuffers/protobuf> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/protobuf/PYSEC-2022-48.yaml> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/5PAGL5M2KGYPN3VEQCRJJE6NA7D5YG5X> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BTRGBRC5KGCA4SK5MUNLPYJRAGXMBIYY> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/KQJB6ZPRLKV6WCMX2PRRRQBFAOXFBK6B> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/MRWRAXAFR3JR7XCFWTHC2KALSZKWACCE> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/NVTWVQRB5OCCTMKEQFY5MYED3DXDVSLP> (web)
- <https://security.netapp.com/advisory/ntap-20220429-0005> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/IFX6KPNOFHYD6L4XES5PCM3QNSKZBOTQ/> (web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3DVUZPALAQ34TQP6KFNLM4IZS6B32XSA/> (web)

## Sources

- CVE List: [CVE-2021-22570](https://www.cve.org/CVERecord?id=CVE-2021-22570), CVE Terms of Use, modified 2025-04-21
- GitHub Advisory Database: [GHSA-77rm-9x9h-xj3g](https://github.com/advisories/GHSA-77rm-9x9h-xj3g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2021-22570](https://nvd.nist.gov/vuln/detail/CVE-2021-22570), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2022-48](https://osv.dev/vulnerability/PYSEC-2022-48), CC-BY-4.0, modified 2026-01-28

---

Page: https://cve.day/CVE-2021-22570 · Whole record: https://cve.day/CVE-2021-22570.json · Rebuilt by cve.day 2026-11-25T22:58:06.670Z
