cve.bz

CVE-2024-7254

8.7 highEPSS 2.8%

High (8.7). EPSS 2.8% chance of exploitation in the next 30 days. Fixed in com.google.protobuf:protobuf-java 3.25.5, 4.27.5, 4.28.2.

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.

Severity

CVSS 4.0

8.7 high
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

CVSS 3.1

7.5 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS
2.8% chance of exploitation in the next 30 days; higher than 86% of CVEs (scores of 2026-10-31)
CWEs
CWE-787, CWE-400, CWE-674
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-java<3.25.53.25.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-javalite<3.25.53.25.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin<3.25.53.25.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin-lite<3.25.53.25.5
GHSA-735f-pc8j-v9w8RubyGemsgoogle-protobuf<3.25.53.25.5
GHSA-735f-pc8j-v9w8RubyGemsgoogle-protobuf>=4.0.0.rc.1 <4.27.54.27.5
GHSA-735f-pc8j-v9w8RubyGemsgoogle-protobuf>=4.28.0.rc.1 <4.28.24.28.2
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin-lite>=4.0.0-RC1 <4.27.54.27.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin-lite>=4.28.0-RC1 <4.28.24.28.2
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin>=4.0.0-RC1 <4.27.54.27.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-kotlin>=4.28.0-RC1 <4.28.24.28.2
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-javalite>=4.0.0-RC1 <4.27.54.27.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-javalite>=4.28.0-RC1 <4.28.24.28.2
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-java>=4.0.0-RC1 <4.27.54.27.5
GHSA-735f-pc8j-v9w8Mavencom.google.protobuf:protobuf-java>=4.28.0-RC1 <4.28.24.28.2

References

Check your stackJSON