CVE-2024-7254
Description
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 that can be abused by an attacker.
Description as published by the source, in English.
Key facts
- Published
- 2024-09-19
- Last modified
- 2026-06-17
- Assigned by
- cve-coordination@google.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
2.8 %
higher than 85 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| google-protobuf (RubyGems) | < 3.25.5 | Affected | |
| google-protobuf (RubyGems) | < 3.25.5 | Affected | |
| google-protobuf (RubyGems) | ≥ 4.0.0.rc.1, < 4.27.5 | Affected | |
| google-protobuf (RubyGems) | ≥ 4.0.0.rc.1, < 4.27.5 | Affected | |
| google-protobuf (RubyGems) | ≥ 4.28.0.rc.1, < 4.28.2 | Affected | |
| google-protobuf (RubyGems) | ≥ 4.28.0.rc.1, < 4.28.2 | Affected | |
| com.google.protobuf | protobuf-java (Maven) | < 3.25.5 | Affected |
| com.google.protobuf | protobuf-java (Maven) | ≥ 4.0.0-RC1, < 4.27.5 | Affected |
| com.google.protobuf | protobuf-java (Maven) | ≥ 4.28.0-RC1, < 4.28.2 | Affected |
| com.google.protobuf | protobuf-javalite (Maven) | < 3.25.5 | Affected |
| com.google.protobuf | protobuf-javalite (Maven) | ≥ 4.0.0-RC1, < 4.27.5 | Affected |
| com.google.protobuf | protobuf-javalite (Maven) | ≥ 4.28.0-RC1, < 4.28.2 | Affected |
| com.google.protobuf | protobuf-kotlin (Maven) | < 3.25.5 | Affected |
| com.google.protobuf | protobuf-kotlin (Maven) | ≥ 4.0.0-RC1, < 4.27.5 | Affected |
| com.google.protobuf | protobuf-kotlin (Maven) | ≥ 4.28.0-RC1, < 4.28.2 | Affected |
| com.google.protobuf | protobuf-kotlin-lite (Maven) | < 3.25.5 | Affected |
| com.google.protobuf | protobuf-kotlin-lite (Maven) | ≥ 4.0.0-RC1, < 4.27.5 | Affected |
| com.google.protobuf | protobuf-kotlin-lite (Maven) | ≥ 4.28.0-RC1, < 4.28.2 | Affected |
| Protobuf | < 3.25.5 | Affected | |
| Protobuf | ≥ 4.0.0, < 4.27.5 | Affected | |
| Protobuf | ≥ 4.28.0, < 4.28.2 | Affected | |
| Protobuf-java | < 3.25.5 | Affected | |
| Protobuf-java | ≥ 4.0.0, < 4.27.5 | Affected | |
| Protobuf-java | ≥ 4.28.0, < 4.28.2 | Affected | |
| Protobuf-javalite | < 3.25.5 | Affected | |
| Protobuf-javalite | ≥ 4.0.0, < 4.27.5 | Affected | |
| Protobuf-javalite | ≥ 4.28.0, < 4.28.2 | Affected | |
| Protobuf-kotlin | < 3.25.5 | Affected | |
| Protobuf-kotlin | ≥ 4.0.0, < 4.27.5 | Affected | |
| Protobuf-kotlin | ≥ 4.28.0, < 4.28.2 | Affected | |
| Protobuf-kotlin-lite | < 3.25.5 | Affected | |
| Protobuf-kotlin-lite | ≥ 4.0.0, < 4.27.5 | Affected | |
| Protobuf-kotlin-lite | ≥ 4.28.0, ≤ 4.28.2 | Affected | |
| Netapp | Active Iq Unified Manager | all versions listed | Affected |
| Netapp | Bluexp | all versions listed | Affected |
| Netapp | Ontap Tools | 10 | Affected |
Weakness type
-
CWE-787: Out-of-bounds Write
The product writes data past the end, or before the beginning, of the intended buffer.
-
CWE-400: Uncontrolled Resource Consumption
The product does not properly control the allocation and maintenance of a limited resource.
-
CWE-674: Uncontrolled Recursion
The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1499: Endpoint Denial of Service
References
- https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ff…
- https://security.netapp.com/advisory/ntap-20241213-0010/
- https://security.netapp.com/advisory/ntap-20250418-0006/
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.