CVE-2024-7254: Stack overflow in Protocol Buffers Java Lite
Noroxi assessment
Priority: Monitor (action score 35/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 2.7% (FIRST EPSS); higher than 86.2% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- According to CISA the attack is automatable: targets can be found by mass scanning.
- Fixed version: protobuf (Debian:12) 3.21.12-3+deb12u1; protobuf (Debian:13) 3.21.12-11+deb13u1; protobuf (Debian:14) 3.21.12-12.
Low priority for now. Upgrade to protobuf (Debian:12) 3.21.12-3+deb12u1; protobuf (Debian:13) 3.21.12-11+deb13u1; protobuf (Debian:14) 3.21.12-12 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Sep 18, 2024
- Updated
- Jun 17, 2026
- EPSS
- 2.7% · 86th percentile
- CWE
- CWE-400
Report tools
Action score
35
Monitor
Low priority for now.
- CVSS
- 34 / 40 · 8.7 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 2.7%
CISA SSVC decision
- Exploitation
- none
- Automatable
- yes
- Technical impact
- partial
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- —
- CNA · Google
- 8.7
- NVD has not scored this yet; the score shown is the CNA’s.
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
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| protobuf | cpe:2.3:a:google:protobuf | |
| protobuf-java | cpe:2.3:a:google:protobuf-java | |
| protobuf-javalite | cpe:2.3:a:google:protobuf-javalite | |
| protobuf-kotlin | cpe:2.3:a:google:protobuf-kotlin | |
| protobuf-kotlin-lite | cpe:2.3:a:google:protobuf-kotlin-lite | |
| netapp | active iq unified manager | cpe:2.3:a:netapp:active_iq_unified_manager |
| netapp | bluexp | cpe:2.3:a:netapp:bluexp |
| netapp | ontap tools | cpe:2.3:a:netapp:ontap_tools |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- google protobufbefore 3.25.5
- google protobuf4.0.0 and later · before 4.27.5
- google protobuf4.28.0 and later · before 4.28.2
- google protobuf-javabefore 3.25.5
- google protobuf-java4.0.0 and later · before 4.27.5
- google protobuf-java4.28.0 and later · before 4.28.2
- google protobuf-javalitebefore 3.25.5
- google protobuf-javalite4.0.0 and later · before 4.27.5
- google protobuf-javalite4.28.0 and later · before 4.28.2
- google protobuf-kotlinbefore 3.25.5
- google protobuf-kotlin4.0.0 and later · before 4.27.5
- google protobuf-kotlin4.28.0 and later · before 4.28.2
- google protobuf-kotlin-litebefore 3.25.5
- google protobuf-kotlin-lite4.0.0 and later · before 4.27.5
- google protobuf-kotlin-lite4.28.0 and later · up to 4.28.2 inclusive
- netapp active iq unified managerall versions
- netapp bluexpall versions
- netapp ontap tools10
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Google). Independent of NVD's CPE analysis and usually ahead of it.
Google google-protobuf [JRuby Gem]
- before 3.25.5affected
- before 4.27.5affected
- before 4.28.2affected
Google protobuf-java
- before 3.25.5affected
- before 4.27.5affected
- before 4.28.2affected
Google protobuf-javalite
- before 3.25.5affected
- before 4.27.5affected
- before 4.28.2affected
Google protobuf-kotlin
- before 3.25.5affected
- before 4.27.5affected
- before 4.28.2affected
Google protobuf-kotllin-lite
- before 3.25.5affected
- before 4.27.5affected
- before 4.28.2affected
Google Protocol Buffers
- before 28.2affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:12 | protobuf | before 3.21.12-3+deb12u1 | 3.21.12-3+deb12u1 |
| Debian:13 | protobuf | before 3.21.12-11+deb13u1 | 3.21.12-11+deb13u1 |
| Debian:14 | protobuf | before 3.21.12-12 | 3.21.12-12 |
| Maven | com.google.protobuf:protobuf-java | from 4.0.0-RC1 · before 4.27.5 | 4.27.5 |
| Maven | com.google.protobuf:protobuf-java | from 4.28.0-RC1 · before 4.28.2 | 4.28.2 |
| Maven | com.google.protobuf:protobuf-java | before 3.25.5 | 3.25.5 |
| Maven | com.google.protobuf:protobuf-javalite | from 4.0.0-RC1 · before 4.27.5 | 4.27.5 |
| Maven | com.google.protobuf:protobuf-javalite | from 4.28.0-RC1 · before 4.28.2 | 4.28.2 |
| Maven | com.google.protobuf:protobuf-javalite | before 3.25.5 | 3.25.5 |
| Maven | com.google.protobuf:protobuf-kotlin | from 4.0.0-RC1 · before 4.27.5 | 4.27.5 |
| Maven | com.google.protobuf:protobuf-kotlin | from 4.28.0-RC1 · before 4.28.2 | 4.28.2 |
| Maven | com.google.protobuf:protobuf-kotlin | before 3.25.5 | 3.25.5 |
| Maven | com.google.protobuf:protobuf-kotlin-lite | from 4.0.0-RC1 · before 4.27.5 | 4.27.5 |
| Maven | com.google.protobuf:protobuf-kotlin-lite | from 4.28.0-RC1 · before 4.28.2 | 4.28.2 |
| Maven | com.google.protobuf:protobuf-kotlin-lite | before 3.25.5 | 3.25.5 |
| openSUSE:Leap 15.6 | protobuf | before 25.1-150600.16.7.1 | 25.1-150600.16.7.1 |
| openSUSE:Leap Micro 5.5 | protobuf | before 25.1-150500.12.5.1 | 25.1-150500.12.5.1 |
| openSUSE:Tumbleweed | protobuf | before 28.3-15.1 | 28.3-15.1 |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-apache-cxf | before 0:3.5.11-1.SP1_redhat_00001.1.el7eap | 0:3.5.11-1.SP1_redhat_00001.1.el7eap |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-apache-cxf-rt | before 0:3.5.11-1.SP1_redhat_00001.1.el7eap | 0:3.5.11-1.SP1_redhat_00001.1.el7eap |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-apache-cxf-services | before 0:3.5.11-1.SP1_redhat_00001.1.el7eap | 0:3.5.11-1.SP1_redhat_00001.1.el7eap |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-apache-cxf-tools | before 0:3.5.11-1.SP1_redhat_00001.1.el7eap | 0:3.5.11-1.SP1_redhat_00001.1.el7eap |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-eclipse-jgit | before 0:5.13.5.202508271544-2.r_redhat_00001.1.el7eap | 0:5.13.5.202508271544-2.r_redhat_00001.1.el7eap |
| Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | eap7-hibernate | before 0:5.3.38-1.Final_redhat_00001.1.el7eap | 0:5.3.38-1.Final_redhat_00001.1.el7eap |
+96
Same product
google: all recordsOther highest-scoring records for the same primary product.
- CVE-2024-2410Use after free in C++ protobuf39Monitor
- CVE-2015-5237protobuf allows remote authenticated attackers to cause a heap-based buffer overflow.36Monitor
- CVE-2026-0994Denial of Service in Python Protobuf32Monitor
Published before and after this one in the same product
- ← EarlierCVE-2021-22570Jan 26, 2022 · Nullptr Dereference in Protobuf23Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:protobuf | 3.21.12-3+deb12u1 · Debian:12 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-java | 3.25.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-java | 4.27.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-java | 4.28.2 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-javalite | 3.25.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-javalite | 4.27.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-javalite | 4.28.2 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin | 3.25.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin | 4.27.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin | 4.28.2 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin-lite | 3.25.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin-lite | 4.27.5 | Package registry (OSV) |
| Maven:com.google.protobuf:protobuf-kotlin-lite | 4.28.2 | Package registry (OSV) |
| opensuse:protobuf | 25.1-150600.16.7.1 · openSUSE:Leap 15.6 | Package registry (OSV) |
| red hat:eap7-apache-cxf | 0:3.5.11-1.SP1_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-eclipse-jgit | 0:5.13.5.202508271544-2.r_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-jboss-marshalling | 0:2.0.16-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-jboss-marshalling-river | 0:2.0.16-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-protostream | 0:4.3.7-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-undertow | 0:2.2.39-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-wildfly | 0:7.4.23-5.GA_redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-wildfly-java-jdk11 | 0:7.4.23-5.GA_redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-wildfly-java-jdk17 | 0:7.4.23-5.GA_redhat_00004.1.el8eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el8 | Package registry (OSV) |
| red hat:eap7-wildfly-java-jdk8 | 0:7.4.23-5.GA_redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-wildfly-javadocs | 0:7.4.23-5.GA_redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| red hat:eap7-wildfly-modules | 0:7.4.23-5.GA_redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform_els:7.4::el7 | Package registry (OSV) |
| RubyGems:google-protobuf | 3.25.5 | Package registry (OSV) |
| RubyGems:google-protobuf | 4.27.5 | Package registry (OSV) |
| RubyGems:google-protobuf | 4.28.2 | Package registry (OSV) |
| suse:protobuf | 25.1-150600.16.7.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
- Alexis Challande, TrailBits Ecosystem Security Team <ecosystem@trailofbits.com>finder
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- Integrity
- Availability
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- X
Weakness class (CWE)
CWE-400 · Uncontrolled Resource ConsumptionCVSS 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
nvd-secondary
Root cause
Code that parses nested structures sets no depth or size limit. A small input can turn into a disproportionate processing load.
The bug in code
The whole CWE-400 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
function expand(node) {
return node.children.map(expand);
}Fixed
const MAX_DEPTH = 32;
function expand(node, depth = 0) {
if (depth > MAX_DEPTH) throw new Error("too deep");
return node.children.map((c) => expand(c, depth + 1));
}Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (2 more)Show less
Vendor advisories and official records. Exploit/PoC links are deliberately left out.