MediumFix available
protobuf — security advisory
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.
- Products
- protobuf
- Affected versions
- Not specified
- Fixed versions
- 3.21.9-3
- CVEs
- CVE-2021-22570
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:20 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2021-22570
protobuf
Fixed versions: 3.21.9-3
protobuf
Fixed versions: 3.21.9-3
protobuf
Fixed versions: 3.21.9-3
Complete source record
{
"id": "f52430f447563f999eea9e12c17d1a7dc6ce07631ea22dd680c0f083862a9e91",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2021-22570",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2021-22570",
"summary": "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.",
"evidence": "osv:DEBIAN-CVE-2021-22570",
"products": [
{
"name": {
"value": "protobuf",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.21.9-3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.21.9-3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "protobuf",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "3.21.9-3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2021-22570",
"aliases": [
"DEBIAN-CVE-2021-22570"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.21.9-3"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/debian/protobuf?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.21.9-3"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/debian/protobuf?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "3.21.9-3"
}
]
}
],
"package": {
"name": "protobuf",
"purl": "pkg:deb/debian/protobuf?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2021-22570.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:11.677491619Z",
"provider": "osv",
"upstream": [
"CVE-2021-22570"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2021-22570"
]
},
"related_cves": [
{
"value": "CVE-2021-22570",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 420759,
"published_at": "2022-01-26T14:15:08.067+00:00"
}