CVSS 4.0
8.7 highCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NHigh (8.7). EPSS 2.8% estimated probability of exploitation activity in the next 30 days. Fixed in com.google.protobuf:protobuf-java 3.25.5, 4.27.5, 4.28.2.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:NCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:Hcom.google.protobuf:protobuf-java (Maven): fixed in 3.25.5, 4.27.5, 4.28.2com.google.protobuf:protobuf-javalite (Maven): fixed in 3.25.5, 4.27.5, 4.28.2com.google.protobuf:protobuf-kotlin (Maven): fixed in 3.25.5, 4.27.5, 4.28.2com.google.protobuf:protobuf-kotlin-lite (Maven): fixed in 3.25.5, 4.27.5, 4.28.2google-protobuf (RubyGems): fixed in 3.25.5, 4.27.5, 4.28.2Explain CVE-2024-7254 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-7254?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-7254?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-7254 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| Google Protocol Buffers | before 28.2 |
| Google protobuf-java | before 3.25.5 |
| Google protobuf-java | before 4.27.5 |
| Google protobuf-java | before 4.28.2 |
| Google protobuf-javalite | before 3.25.5 |
| Google protobuf-javalite | before 4.27.5 |
| Google protobuf-javalite | before 4.28.2 |
| Google protobuf-kotlin | before 3.25.5 |
| Google protobuf-kotlin | before 4.27.5 |
| Google protobuf-kotlin | before 4.28.2 |
| Google protobuf-kotllin-lite | before 3.25.5 |
| Google protobuf-kotllin-lite | before 4.27.5 |
| Google protobuf-kotllin-lite | before 4.28.2 |
| google-protobuf [JRuby Gem] | before 3.25.5 |
| google-protobuf [JRuby Gem] | before 4.27.5 |
| google-protobuf [JRuby Gem] | before 4.28.2 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-java | <3.25.5 | 3.25.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-javalite | <3.25.5 | 3.25.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin | <3.25.5 | 3.25.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin-lite | <3.25.5 | 3.25.5 |
| GHSA-735f-pc8j-v9w8 | RubyGems | google-protobuf | <3.25.5 | 3.25.5 |
| GHSA-735f-pc8j-v9w8 | RubyGems | google-protobuf | >=4.0.0.rc.1 <4.27.5 | 4.27.5 |
| GHSA-735f-pc8j-v9w8 | RubyGems | google-protobuf | >=4.28.0.rc.1 <4.28.2 | 4.28.2 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin-lite | >=4.0.0-RC1 <4.27.5 | 4.27.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin-lite | >=4.28.0-RC1 <4.28.2 | 4.28.2 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin | >=4.0.0-RC1 <4.27.5 | 4.27.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-kotlin | >=4.28.0-RC1 <4.28.2 | 4.28.2 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-javalite | >=4.0.0-RC1 <4.27.5 | 4.27.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-javalite | >=4.28.0-RC1 <4.28.2 | 4.28.2 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-java | >=4.0.0-RC1 <4.27.5 | 4.27.5 |
| GHSA-735f-pc8j-v9w8 | Maven | com.google.protobuf:protobuf-java | >=4.28.0-RC1 <4.28.2 | 4.28.2 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12 | protobuf | 3.21.12-3+deb12u1 | DEBIAN-CVE-2024-7254 |
| Debian | 13 | protobuf | 3.21.12-11+deb13u1 | DEBIAN-CVE-2024-7254 |
| Debian | 14 | protobuf | 3.21.12-12 | DEBIAN-CVE-2024-7254 |
| Ubuntu | 22.04:LTS | protobuf | 3.12.4-1ubuntu7.22.04.2 | UBUNTU-CVE-2024-7254 USN-7435-1 USN-7629-1 |
| Ubuntu | 24.04:LTS | protobuf | 3.21.12-8.2ubuntu0.1 | UBUNTU-CVE-2024-7254 USN-7435-1 USN-7629-1 |
| Ubuntu | Pro:14.04:LTS | protobuf | no fix listed | UBUNTU-CVE-2024-7254 |
| Ubuntu | Pro:16.04:LTS | protobuf | 2.6.1-1.3ubuntu0.1~esm4 | UBUNTU-CVE-2024-7254 USN-7629-2 |
| Ubuntu | Pro:18.04:LTS | protobuf | 3.0.0-9.1ubuntu1.1+esm3 | UBUNTU-CVE-2024-7254 USN-7629-2 |
| Ubuntu | Pro:20.04:LTS | protobuf | 3.6.1.3-2ubuntu5.2+esm2 | UBUNTU-CVE-2024-7254 USN-7629-2 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-apache-cxf, eap7-apache-cxf-rt, eap7-apache-cxf-tools and 1 more | 0:3.5.11-1.SP1_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-eclipse-jgit | 0:5.13.5.202508271544-2.r_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more | 0:5.3.38-1.Final_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-jboss-marshalling, eap7-jboss-marshalling-river | 0:2.0.16-1.Final_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-netty, eap7-netty-all, eap7-netty-codec and 25 more | 0:4.1.124-1.Final_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-protostream | 0:4.3.7-1.Final_redhat_00001.1.el7eap | RHSA-2025:20052 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-undertow | 0:2.2.39-1.Final_redhat_00001.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more | 0:7.4.23-5.GA_redhat_00004.1.el7eap | RHSA-2025:20052 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el7 | eap7-wildfly, eap7-wildfly-modules, eap7-wildfly-javadocs and 2 more | 0:7.4.24-4.GA_redhat_00002.1.el7eap | RHSA-2026:4915 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el8 | eap7-apache-cxf, eap7-apache-cxf-rt, eap7-apache-cxf-tools and 1 more | 0:3.5.11-1.SP1_redhat_00001.1.el8eap | RHSA-2026:4916 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el8 | eap7-eclipse-jgit | 0:5.13.5.202508271544-2.r_redhat_00001.1.el8eap | RHSA-2026:4916 |
| Red Hat | jboss_enterprise_application_platform_els:7.4::el8 | eap7-hibernate, eap7-hibernate-core, eap7-hibernate-java8 and 2 more | 0:5.3.38-1.Final_redhat_00001.1.el8eap | RHSA-2026:4916 |
| 15 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Linux Enterprise High Performance Computing 15 SP4-ESPOS, Linux Enterprise High Performance Computing 15 SP4-LTSS, Linux Enterprise Installer Updates 15 SP4 and 6 more | protobuf | 25.1-150400.9.10.1 | SUSE-SU-2024:3746-1 |
| SUSE | Linux Enterprise Installer Updates 15 SP5, Linux Enterprise Micro 5.5, Linux Enterprise Module for Basesystem 15 SP5 and 4 more | protobuf | 25.1-150500.12.5.1 | SUSE-SU-2024:3747-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP6, Linux Enterprise Module for Development Tools 15 SP6, Linux Enterprise Module for Package Hub 15 SP6 and 1 more | protobuf | 25.1-150600.16.7.1 | SUSE-SU-2024:3745-1 |
| SUSE | Linux Micro 6.0 | protobuf | 23.4-8.1 | SUSE-SU-2025:20074-1 |
| SUSE | Linux Micro 6.1 | protobuf | 23.4-slfo.1.1_2.1 | SUSE-SU-2025:20672-1 |
| openSUSE | Leap 15.5, Leap Micro 5.5 | protobuf | 25.1-150500.12.5.1 | SUSE-SU-2024:3747-1 |
| openSUSE | Leap 15.6 | protobuf | 25.1-150600.16.7.1 | SUSE-SU-2024:3745-1 |
| openSUSE | Tumbleweed | protobuf | 28.3-15.1 | openSUSE-SU-2025:14832-1 |
| Alpaquita | 23, stream | protobuf | no fix listed | BELL-CVE-2024-7254 |
| BellSoft Hardened Containers | stream | protobuf | no fix listed | BELL-CVE-2024-7254 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; BellSoft's OSV database, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpaquita · BellSoft Hardened Containers.
Red Hat rates this Important.
This issue represents a significant severity risk because unbounded recursion in Protocol Buffers parsing can be exploited to trigger stack overflows, leading to Denial of Service (DoS). When parsers, such as `DiscardUnknownFieldsParser` or the Java Protobuf Lite parser, encounter arbitrarily nested groups or deeply recursive map fields, the lack of recursion depth limits can result in uncontrolled stack growth. Attackers can craft malicious protobuf messages that deliberately exceed the stack's capacity, causing the application to crash or become unresponsive.
The protobuf package as shipped in RHEL does not include the affected java or kotlin bindings, therefore RHEL is Not Affected.
Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat build of Apache Camel 4.4.3 for Spring Boot | Fixed 2024-10-14 | RHSA-2024:8064 | |
| Red Hat build of Apache Camel 4.8 for Spring Boot | Fixed 2024-12-02 | RHSA-2024:10700 | |
| Red Hat build of Apache Camel 4 for Quarkus 3 | protobuf-java | Fixed 2024-10-10 | RHSA-2024:7972 |
| Red Hat build of Quarkus Native builder | com.google.protobuf/protobuf | Fixed 2024-10-10 | RHSA-2024:7676 |
| Red Hat build of Quarkus Native builder | com.google.protobuf/protobuf | Fixed 2024-10-10 | RHSA-2024:7670 |
| Red Hat JBoss EAP XP 5.0 Update 2.0 | Fixed 2025-05-14 | RHSA-2025:7620 | |
| Red Hat JBoss Enterprise Application Platform 7.4.24 | org.infinispan.protostream/protostream:4.3.7.Final-redhat-00001 | Fixed 2025-11-10 | RHSA-2025:20057 |
| Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7 | eap7-protostream-0:4.3.7-1.Final_redhat_00001.1.el7eap | Fixed 2025-11-10 | RHSA-2025:20052 |
| Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7 | eap7-wildfly-0:7.4.23-5.GA_redhat_00004.1.el7eap | Fixed 2025-11-10 | RHSA-2025:20052 |
| Red Hat JBoss Enterprise Application Platform 7.4 ELS on RHEL 7 | eap7-jboss-marshalling-0:2.0.16-1.Final_redhat_00001.1.el7eap | Fixed 2026-03-18 | RHSA-2026:4915 |
| Red Hat AMQ Broker 7 | protobuf-java | Will not fix | |
| Red Hat build of Apicurio Registry 2 | protobuf-java | Affected | |
| Red Hat build of Debezium 2 | protobuf-java | Will not fix | |
| Red Hat build of OptaPlanner 8 | protobuf-java | Not affected | |
| Red Hat Data Grid 8 | protobuf-java | Will not fix | |
| Red Hat Enterprise Linux 10 | mysql8.4 | Not affected | |
| Red Hat Enterprise Linux 10 | protobuf | Not affected | |
| Red Hat Enterprise Linux 6 | mysql | Out of support scope | |
| Red Hat Enterprise Linux 7 | protobuf | Not affected | |
| Red Hat Enterprise Linux 8 | mysql:8.0/mysql | Not affected | |
| 27 more in the JSON and on Red Hat's page. | |||
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2024-7254.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.