cbcvebase.

Google Protobuf vulnerabilities

15 known vulnerabilities affecting google/protobuf.

Total CVEs
15
CISA KEV
0
Public exploits
0
Exploited in wild
0
Severity breakdown
CRITICAL1HIGH11MEDIUM3

Vulnerabilities

Page 1 of 1
CVE-2015-5237P3HIGHCVSS 8.8≤ 3.1.02017-09-25
CVE-2015-5237 [HIGH] CWE-787 CVE-2015-5237: protobuf allows remote authenticated attackers to cause a heap-based buffer overflow. protobuf allows remote authenticated attackers to cause a heap-based buffer overflow.
nvdosv
CVE-2024-7254P3HIGHCVSS 7.5fixed in 3.25.5≥ 4.0.0, < 4.27.5+1 more2024-09-19
CVE-2024-7254 [HIGH] CWE-400 CVE-2024-7254: Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested gro Any project that parses untrusted Protocol Buffers data containing an arbitrary number of nested groups / series of SGROUP tags can corrupted by exceeding the stack limit i.e. StackOverflow. Parsing nested groups as unknown fields with DiscardUnknownFieldsParser or Java Protobuf Lite parser, or against Protobuf map fields, creates unbounded recursions t
nvdosv
CVE-2026-0994P3HIGHCVSS 7.5≤ 33.42026-01-23
CVE-2026-0994 [HIGH] CWE-674 CVE-2026-0994: A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, A denial-of-service (DoS) vulnerability exists in google.protobuf.json_format.ParseDict() in Python, where the max_recursion_depth limit can be bypassed when parsing nested google.protobuf.Any messages. Due to missing recursion depth accounting inside the internal Any-handling logic, an attacker can supply deeply nested Any structures that bypass the i
ghsanvdosv
CVE-2024-2410P3CRITICALCVSS 9.8≥ 4.22.0, < 4.25.02024-05-03
CVE-2024-2410 [CRITICAL] CWE-416 CVE-2024-2410: The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to The JsonToBinaryStream() function is part of the protocol buffers C++ implementation and is used to parse JSON from a stream. If the input is broken up into separate chunks in a certain way, the parser will attempt to read bytes from a chunk that has already been freed.
nvd
CVE-2022-1941P3HIGHCVSS 7.5≥ 0, < 3.18.3≥ 3.19.0, < 3.19.5+2 more2022-09-23
CVE-2022-1941 [HIGH] CWE-119 protobuf-cpp and protobuf-python have potential Denial of Service issue protobuf-cpp and protobuf-python have potential Denial of Service issue ### 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](https://google.g
ghsaosv
CVE-2022-3171P3HIGHCVSS 7.5≥ 0, < 3.21.9-32022-10-12
CVE-2022-3171 [HIGH] CVE-2022-3171: A parsing issue with binary data in protobuf-java core and lite versions prior to 3 A parsing issue with binary data in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and immutable forms, resulting in potentially long garbage co
osv
CVE-2022-3509P3HIGHCVSS 7.5≥ 0, < 3.21.9-32022-12-12
CVE-2022-3509 [HIGH] CVE-2022-3509: A parsing issue similar to CVE-2022-3171, but with textformat in protobuf-java core and lite versions prior to 3 A parsing issue similar to CVE-2022-3171, but with textformat in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n-forth between mutable and
osv
CVE-2022-3510P3HIGHCVSS 7.5≥ 0, < 3.21.9-32022-12-12
CVE-2022-3510 [HIGH] CVE-2022-3510: A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions in protobuf-java core and lite versions prior to 3 A parsing issue similar to CVE-2022-3171, but with Message-Type Extensions in protobuf-java core and lite versions prior to 3.21.7, 3.20.3, 3.19.6 and 3.16.3 can lead to a denial of service attack. Inputs containing multiple instances of non-repeated embedded messages with repeated or unknown fields causes objects to be converted back-n
osv
CVE-2019-15544P3HIGH≥ 0, < 2.6.02021-08-25
CVE-2019-15544 [HIGH] CWE-770 Uncontrolled memory consumption in protobuf Uncontrolled memory consumption in protobuf Affected versions of this crate called Vec::reserve() on user-supplied input. This allows an attacker to cause an Out of Memory condition while calling the vulnerable method on untrusted data.
ghsaosv
CVE-2026-6409P4HIGH≥ 0, < 4.33.62026-03-25
CVE-2026-6409 [HIGH] CWE-400 Protobuf: Denial of Service issue through malicious messages containing negative varints or deep recursion Protobuf: Denial of Service issue through malicious messages containing negative varints or deep recursion ### Impact A Denial of Service (DoS) vulnerability exists in the Protobuf PHP library during the parsing of untrusted input. Maliciously structured messages—specifically those containing negative `varint`s or deep recursion—can be used to crash the applica
ghsa
CVE-2025-4565P4HIGHCVSS 8.2≥ 0, < 4.25.8≥ 5.26.0rc1, < 5.29.5+1 more2025-06-16
CVE-2025-4565 [HIGH] CWE-674 protobuf-python has a potential Denial of Service issue protobuf-python has a potential Denial of Service issue ### Summary Any project that uses Protobuf pure-Python backend to parse untrusted Protocol Buffers data containing an arbitrary number of **recursive groups**, **recursive messages** or **a series of [`SGROUP`](https://protobuf.dev/programming-guides/encoding/#groups) tags** can be corrupted by exceeding the Python recursion limit. Reporter: Alexis Challa
ghsaosv
CVE-2025-53605P4MEDIUM≥ 0, < 3.7.22025-03-07
CVE-2025-53605 [MEDIUM] CWE-20 Crash due to uncontrolled recursion in protobuf crate Crash due to uncontrolled recursion in protobuf crate Affected version of this crate did not properly parse unknown fields when parsing a user-supplied input. This allows an attacker to cause a stack overflow when parsing the message on untrusted data.
ghsaosv
CVE-2021-22570P4MEDIUMCVSS 5.5fixed in 3.15.02022-01-26
CVE-2021-22570 [MEDIUM] CWE-476 CVE-2021-22570: Nullptr dereference when a null char is present in a proto symbol. The symbol is parsed incorrectly, 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.
ghsanvdosv
CVE-2021-22569P4MEDIUMCVSS 5.5≥ 0, < 3.12.4-1+deb11u1≥ 0, < 3.21.9-32022-01-10
CVE-2021-22569 [MEDIUM] CVE-2021-22569: An issue in protobuf-java allowed the interleaving of com An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that would be processed out of order. A small malicious payload can occupy the parser for several minutes by creating large numbers of short-lived objects that cause frequent, repeated pauses. We recommend upgrading libraries beyond the vulnerable versions.
osv
CVE-2026-54451HIGH≥ 0.8.0, < 0.16.12026-07-15
CVE-2026-54451 [HIGH] CWE-674 Protobuf: Unbounded recursion depth in embedded-message decoding Protobuf: Unbounded recursion depth in embedded-message decoding ### Summary Unbounded recursion depth in `Protobuf.Decoder` (Hex package `protobuf`, versions `>= 0.8.0, >` (tag `0x0A` = field 1, wire type 2). Use an iolist with a running byte-size to keep generation O(depth). 3. POST the body (a few MB at `depth = 1_000_000`) as `application/x-protobuf` to any endpoint that calls `Tree.decode/1`. 4.
ghsa
Google Protobuf vulnerabilities | cvebase