CVE-2024-7254 HIGH

CVE-2024-7254: Stack overflow in Protocol Buffers Java Lite

Vendor Google
Product Protocol Buffers
Weakness CWE-400
Published September 19, 2024
Last update September 8, 2025

CVSS base score

8.7/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

What the vulnerability does

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.

Key dates

Disclosure timeline

September 19, 2024 CVE published
September 8, 2025 Record updated