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

- Severity: High 8.7 (CVSS:4.0, scored by Google) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 2.77%, higher than 86% of CVEs (2026-12-01)
- Published: 2024-09-19T00:18:45.824Z
- Modified: 2026-09-10T03:50:19.212Z
- Also known as: GHSA-735f-pc8j-v9w8
- Related: RUSTSEC-2024-0437
- Weaknesses: CWE-20, CWE-400, CWE-674, CWE-787
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: Google

## 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.

(As written by CVE List.)

## Affected

- Google Protocol Buffers: before 28.2
- Google protobuf-java: before 3.25.5; before 4.27.5; before 4.28.2; from 4.0.0 before 4.27.5; from 4.28.0 before 4.28.2
- Google protobuf-javalite: before 3.25.5; before 4.27.5; before 4.28.2; from 4.0.0 before 4.27.5; from 4.28.0 before 4.28.2
- Google protobuf-kotlin: before 3.25.5; before 4.27.5; before 4.28.2; from 4.0.0 before 4.27.5; from 4.28.0 before 4.28.2
- Google protobuf-kotllin-lite: before 3.25.5; before 4.27.5; before 4.28.2
- Google google-protobuf [JRuby Gem]: before 3.25.5; before 4.27.5; before 4.28.2
- google protobuf: before 28.2; before 3.25.5; from 4.0.0 before 4.27.5; from 4.28.0 before 4.28.2
- google protobuf-kotlin-lite: before 3.25.5; from 4.27 before 4.27.5; from 4.28 before 4.28.2; from 4.0.0 before 4.27.5; from 4.28.0 up to 4.28.2
- com.google.protobuf:protobuf-java (Maven): before 3.25.5; from 4.0.0-RC1 before 4.27.5; from 4.28.0-RC1 before 4.28.2
- com.google.protobuf:protobuf-javalite (Maven): before 3.25.5; from 4.0.0-RC1 before 4.27.5; from 4.28.0-RC1 before 4.28.2
- com.google.protobuf:protobuf-kotlin (Maven): before 3.25.5; from 4.0.0-RC1 before 4.27.5; from 4.28.0-RC1 before 4.28.2
- com.google.protobuf:protobuf-kotlin-lite (Maven): before 3.25.5; from 4.0.0-RC1 before 4.27.5; from 4.28.0-RC1 before 4.28.2
- google-protobuf (RubyGems): before 3.25.5; from 4.0.0.rc.1 before 4.27.5; from 4.28.0.rc.1 before 4.28.2
- netapp active_iq_unified_manager: no versions given
- netapp bluexp: no versions given
- netapp ontap_tools: 10

## Every score

- Google: 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`
- GitHub: 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`
- GitHub: CVSS:4.0 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`
- NVD: 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`

## References

- <https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa> (patch, web)
- <https://security.netapp.com/advisory/ntap-20241213-0010/> (third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20250418-0006/> (third-party-advisory)
- <https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-7254> (advisory)
- <https://github.com/protocolbuffers/protobuf/commit/4728531c162f2f9e8c2ca1add713cfee2db6be3b> (web)
- <https://github.com/protocolbuffers/protobuf/commit/850fcce9176e2c9070614dab53537760498c926b> (web)
- <https://github.com/protocolbuffers/protobuf/commit/9a5f5fe752a20cbac2e722b06949ac985abdd534> (web)
- <https://github.com/protocolbuffers/protobuf/commit/ac9fb5b4c71b0dd80985b27684e265d1f03abf46> (web)
- <https://github.com/protocolbuffers/protobuf/commit/d6c82fc55a76481c676f541a255571e8950bb8c3> (web)
- <https://github.com/protocolbuffers/protobuf> (package)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google-protobuf/CVE-2024-7254.yml> (web)
- <https://security.netapp.com/advisory/ntap-20241213-0010> (web)
- <https://security.netapp.com/advisory/ntap-20250418-0006> (web)

## Sources

- CVE List: [CVE-2024-7254](https://www.cve.org/CVERecord?id=CVE-2024-7254), CVE Terms of Use, modified 2025-09-08
- GitHub Advisory Database: [GHSA-735f-pc8j-v9w8](https://github.com/advisories/GHSA-735f-pc8j-v9w8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-7254](https://nvd.nist.gov/vuln/detail/CVE-2024-7254), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-7254 · Whole record: https://cve.day/CVE-2024-7254.json · Rebuilt by cve.day 2026-11-25T22:58:45.620Z
