CVE-2024-7254
Published: Sep 19, 2024
Modified: Sep 8, 2025
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.
| Vendor | Product | Versions |
|---|---|---|
Protocol Buffers | affected 0 - < 28.2 | |
protobuf-java | affected 0 - < 3.25.5affected 0 - < 4.27.5affected 0 - < 4.28.2 | |
protobuf-javalite | affected 0 - < 3.25.5affected 0 - < 4.27.5affected 0 - < 4.28.2 | |
protobuf-kotlin | affected 0 - < 3.25.5affected 0 - < 4.27.5affected 0 - < 4.28.2 | |
protobuf-kotllin-lite | affected 0 - < 3.25.5affected 0 - < 4.27.5affected 0 - < 4.28.2 | |
google-protobuf [JRuby Gem] | affected 0 - < 3.25.5affected 0 - < 4.27.5affected 0 - < 4.28.2 |
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now