CVE-2021-22570

Nullptr Dereference in Protobuf

MEDIUM
5.5
CVSS Score
Published: January 26, 2022 at 12:00 AM UTC
Updated: June 17, 2026 at 03:37 AM UTC
8 products affected across 5 vendorsDebian LinuxFedoraMySQL Server

Using Protobuf by Google LLC?

Get instant alerts when new vulnerabilities affect Protobuf - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 3%
SSVC
No known exploit

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 3.15.0
Affected range stops below 3.15.0, so it looks safe — our inference, not a vendor statement
All versions
All versions
v ≤ 8.0.28

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-476

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card