CVE-2021-22570

published 26 Jan 2022 · updated 21 Apr 2025

Nullptr Dereference in Protobuf

6.5MediumCVSS 6.5EPSS 3%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 3%. Fixed in Protobuf 3.15.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
GoogleProtobuf<3.15.03.15.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Google, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2021-22570 severity on Zeptric[![CVE-2021-22570](https://zeptric.io/badge/cve/CVE-2021-22570.svg)](https://zeptric.io/cve/CVE-2021-22570)