
CVE catalog
CVE-2022-1941
protobuf: CVE-2022-1941
- Severity
- Medium · CVSS 6.5
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.51% · Oct 25, 2026
A parsing vulnerability for the MessageSet type in the ProtocolBuffers versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to out of memory failures. A specially crafted message with multiple key-value per elements creates parsing issues, and can lead to a Denial of Service against services receiving unsanitized input. We recommend upgrading to versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3, 3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are no longer updated.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | protobuf | sid | 3.21.12-17 | fixed |
| Debian | protobuf | forky | 3.21.12-17 | fixed |
| Debian | protobuf | trixie | 3.21.12-11+deb13u1 | fixed |
| Debian | protobuf | bookworm | 3.21.12-3+deb12u1 | fixed |
| PyPI | protobuf | Not reported | 4.21.6 | fixed |
| PyPI | protobuf | Not reported | 4.21.6 | fixed |
| PyPI | protobuf | Not reported | 3.18.3 | fixed |
| PyPI | protobuf | Not reported | 3.19.5 | fixed |
| PyPI | protobuf | Not reported | 3.20.2 | fixed |
| Ubuntu | protobuf | pro | 2.6.1-1.2 | vulnerable |
| Ubuntu | protobuf | pro | 2.6.1-1.3 | vulnerable |
| Ubuntu | protobuf | pro | 2.6.1-1.3ubuntu0.1~esm1 | vulnerable |
| Ubuntu | protobuf | pro | 2.6.1-1.3ubuntu0.1~esm2 | fixed |
| Ubuntu | protobuf | 18.04 | 3.0.0-9ubuntu5 | vulnerable |
| Ubuntu | protobuf | 18.04 | 3.0.0-9ubuntu6 | vulnerable |
| Ubuntu | protobuf | 18.04 | 3.0.0-9.1ubuntu1 | vulnerable |
| Ubuntu | protobuf | 18.04 | 3.0.0-9.1ubuntu1.1 | fixed |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2 | vulnerable |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2ubuntu1 | vulnerable |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2ubuntu3 | vulnerable |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2ubuntu4 | vulnerable |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2ubuntu5 | vulnerable |
| Ubuntu | protobuf | 20.04 | 3.6.1.3-2ubuntu5.2 | fixed |
| Ubuntu | protobuf | 22.04 | 3.12.4-1ubuntu3 | vulnerable |
| Ubuntu | protobuf | 22.04 | 3.12.4-1ubuntu5 | vulnerable |
| Ubuntu | protobuf | 22.04 | 3.12.4-1ubuntu6 | vulnerable |
| Ubuntu | protobuf | 22.04 | 3.12.4-1ubuntu7 | vulnerable |
| Ubuntu | protobuf | 22.04 | 3.12.4-1ubuntu7.22.04.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | protobuf | source | sid | 3.21.9-3 | not yet assigned | Not reported | Not reported |
| Debian | protobuf | source | forky | 3.21.9-3 | not yet assigned | Not reported | Not reported |
| Debian | protobuf | source | trixie | 3.21.9-3 | not yet assigned | Not reported | Not reported |
| Debian | protobuf | source | bookworm | 3.21.9-3 | not yet assigned | Not reported | Not reported |
| PyPI | protobuf | PyPI | Not reported | 4.21.6 | Not reported | GHSA-8GQ9-2X98-W8HF | Not reported |
| PyPI | protobuf | PyPI | Not reported | 4.21.6 | Not reported | PYSEC-2026-899 | Not reported |
| PyPI | protobuf | PyPI | Not reported | 3.18.3 | Not reported | PYSEC-2026-899 | Not reported |
| PyPI | protobuf | PyPI | Not reported | 3.19.5 | Not reported | PYSEC-2026-899 | Not reported |
| PyPI | protobuf | PyPI | Not reported | 3.20.2 | Not reported | PYSEC-2026-899 | Not reported |
| Ubuntu | protobuf | deb | pro | 2.6.1-1.3ubuntu0.1~esm2 | Not reported | UBUNTU-CVE-2022-1941 | Not reported |
| Ubuntu | protobuf | deb | 18.04 | 3.0.0-9.1ubuntu1.1 | Not reported | UBUNTU-CVE-2022-1941 | Not reported |
| Ubuntu | protobuf | deb | 20.04 | 3.6.1.3-2ubuntu5.2 | Not reported | UBUNTU-CVE-2022-1941 | Not reported |
| Ubuntu | protobuf | deb | 22.04 | 3.12.4-1ubuntu7.22.04.1 | Not reported | UBUNTU-CVE-2022-1941 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [elpa-protobuf-mode]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotobuf32]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotobuf-dev]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotobuf-java]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotobuf-lite32]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotoc32]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [libprotoc-dev]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [php-google-protobuf]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· all · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [protobuf-compiler]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [python3-protobuf]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
- [ruby-google-protobuf]Fixed
Source package: [protobuf]
Details (2)
3.21.12-3+deb12u1· amd64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
3.21.12-3+deb12u1· arm64 · bookwormFixed · Fixed:
3.21.9-3dsa · protobuf · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/suse-su-2022_3922-1.json]
- [https://osv.dev/vulnerability/PYSEC-2026-899]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2022-1941]
- [https://security-tracker.debian.org/tracker/CVE-2022-1941]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-1941.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2023/wid-sec-w-2023-0126.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]