Stack overflow in Protocol Buffers Java Lite
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.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for the hundreds of thousands of vulnerabilities in the database; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for help- Published
- Sep 18, 2024
- Updated
- Jun 17, 2026
- EPSS
- 2.8% · 86th percentile
- CWE
- CWE-400
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
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.8%
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.
Affected systems
| 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.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 | 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-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.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 | 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-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.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 | 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 | 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.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 |
+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
- CVE-2021-22570Nullptr 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
- github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa
- security.netapp.com/advisory/ntap-20241213-0010/
- security.netapp.com/advisory/ntap-20250418-0006/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.