Hoch

protobuf-cpp and protobuf-python have potential Denial of Service issue

  • Veröffentlicht: 23.09.2022
  • Aktualisiert: 11.10.2026 13:19

Summary

A message parsing and memory management vulnerability in ProtocolBuffer’s C++ and Python implementations can trigger an out of memory (OOM) failure when processing a specially crafted message, which could lead to a denial of service (DoS) on services using the libraries.

Reporter: ClusterFuzz

Affected versions: All versions of C++ Protobufs (including Python) prior to the versions listed below.

Severity & Impact

As scored by google
Medium 5.7 - CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Asscored byt NIST
High 7.5 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

A small (~500 KB) malicious payload can be constructed which causes the running service to allocate more than 3GB of RAM.

Proof of Concept

For reproduction details, please refer to the unit test that identifies the specific inputs that exercise this parsing weakness.

Mitigation / Patching

Please update to the latest available versions of the following packages:

  • protobuf-cpp (3.18.3, 3.19.5, 3.20.2, 3.21.6)
  • protobuf-python (3.18.3, 3.19.5, 3.20.2, 4.21.6)

Betroffene Software

Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.

PlattformPaketAnfällige VersionenBehoben in
Python (PyPI) protobuf < 3.18.3, >= 3.19.0, < 3.19.5, >= 3.20.0, < 3.20.2, >= 4.0.0, < 4.21.6 3.18.3, 3.19.5, 3.20.2, 4.21.6

Verweise

CVSS-Wert 7.5/10
CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Schwäche (CWE)
CWE-119, CWE-1286
Plattform
Python (PyPI)
Paket
protobuf
Veröffentlicht
23.09.2022
Aktualisiert
11.10.2026 13:19

Quellen und Lizenzen

OSV / GitHub Advisory Database - PYSEC-2026-899 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-8gq9-2x98-w8hf - CC BY 4.0

Schwachstellenhistorie: protobuf

Alle veröffentlichten Schwachstellen dieses Pakets (Python (PyPI)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.

Einträge insgesamt
5
Erste → letzte
09.2017 01.2026
Ohne Fix
0
In Angriffen ausgenutzt
0

Verteilung nach Schweregrad

  • Hoch 5

Veröffentlichungen pro Jahr

  1. 2017: 1
  2. 2018: 0
  3. 2019: 0
  4. 2020: 0
  5. 2021: 0
  6. 2022: 2
  7. 2023: 0
  8. 2024: 0
  9. 2025: 1
  10. 2026: 1
  1. Hoch CVE-2026-0994 >= 6.30.0rc1, < 6.33.5, < 5.29.6 6.33.5, 5.29.6
  2. Hoch CVE-2025-4565 < 4.25.8, >= 5.26.0rc1, < 5.29.5, >= 6.30.0rc1, < 6.31.1 4.25.8, 5.29.5, 6.31.1
  3. protobuf-cpp and protobuf-python have potential Denial of Service issue dieser Eintrag
    Hoch · 7.5 CVE-2022-1941 < 3.18.3, >= 3.19.0, < 3.19.5, >= 3.20.0, < 3.20.2, >= 4.0.0, < 4.21.6 3.18.3, 3.19.5, 3.20.2, 4.21.6

Erkennen Sie Schwachstellen in Ihrer Anwendung

Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.

Anwendung verbinden
DockRay Newsletter

Anwendungssicherheit in Ihrem Postfach

Wichtige Schwachstellen, konkrete Empfehlungen und praktische Tipps für Ihre Anwendungen. Wählen Sie Ihre Technologien und verfolgen Sie, was für Ihr Projekt relevant ist.

  • Eine tägliche Zusammenfassung neuer Schwachstellen, auch kritischer.
  • Benachrichtigungen über wichtige Updates.
  • Praktische Tipps zur Sicherheit und Überwachung von Anwendungen.

Leer lassen, um Meldungen zu allen Technologien zu erhalten.

Kostenlos anmelden. In jeder E-Mail mit einem Klick abmelden.