{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-7254","id":"CVE-2024-7254","title":"Stack overflow in Protocol Buffers Java Lite","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.","descriptionLong":"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":"2024-09-19T00:18:45.824Z","updated":"2026-10-28T10:42:02.814203985Z","reserved":"2024-07-29T21:41:56.116Z","status":"Analyzed","rejected":false,"assigner":"Google","metric":{"version":"4.0","score":8.7,"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","rating":"high","source":"Google"},"metrics":[{"version":"4.0","score":8.7,"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","rating":"high","source":"Google"},{"version":"4.0","score":8.7,"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","rating":"high","source":"google.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"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","rating":"high","source":"GitHub"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["Google Protocol Buffers","Google protobuf-java","Google protobuf-javalite","Google protobuf-kotlin","Google protobuf-kotllin-lite","google-protobuf [JRuby Gem]"],"affectedProducts":[{"vendor":"Google","product":"Protocol Buffers","defaultStatus":"unaffected","versions":[{"lessThan":"28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]},{"vendor":"Google","product":"protobuf-java","defaultStatus":"unaffected","versions":[{"lessThan":"3.25.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.27.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]},{"vendor":"Google","product":"protobuf-javalite","defaultStatus":"unaffected","versions":[{"lessThan":"3.25.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.27.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]},{"vendor":"Google","product":"protobuf-kotlin","defaultStatus":"unaffected","versions":[{"lessThan":"3.25.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.27.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]},{"vendor":"Google","product":"protobuf-kotllin-lite","defaultStatus":"unaffected","versions":[{"lessThan":"3.25.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.27.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]},{"vendor":"Google","product":"google-protobuf [JRuby Gem]","defaultStatus":"unaffected","versions":[{"lessThan":"3.25.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.27.5","status":"affected","version":"0","versionType":"custom"},{"lessThan":"4.28.2","status":"affected","version":"0","versionType":"custom"}],"platforms":[]}],"packages":[{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-java","purl":"pkg:maven/com.google.protobuf/protobuf-java","ranges":["<3.25.5",">=4.0.0-RC1 <4.27.5",">=4.28.0-RC1 <4.28.2"],"fixed":["3.25.5","4.27.5","4.28.2"],"advisory":"GHSA-735f-pc8j-v9w8"},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-javalite","purl":"pkg:maven/com.google.protobuf/protobuf-javalite","ranges":["<3.25.5",">=4.0.0-RC1 <4.27.5",">=4.28.0-RC1 <4.28.2"],"fixed":["3.25.5","4.27.5","4.28.2"],"advisory":"GHSA-735f-pc8j-v9w8"},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin","ranges":["<3.25.5",">=4.0.0-RC1 <4.27.5",">=4.28.0-RC1 <4.28.2"],"fixed":["3.25.5","4.27.5","4.28.2"],"advisory":"GHSA-735f-pc8j-v9w8"},{"ecosystem":"Maven","name":"com.google.protobuf:protobuf-kotlin-lite","purl":"pkg:maven/com.google.protobuf/protobuf-kotlin-lite","ranges":["<3.25.5",">=4.0.0-RC1 <4.27.5",">=4.28.0-RC1 <4.28.2"],"fixed":["3.25.5","4.27.5","4.28.2"],"advisory":"GHSA-735f-pc8j-v9w8"},{"ecosystem":"RubyGems","name":"google-protobuf","purl":"pkg:gem/google-protobuf","ranges":["<3.25.5",">=4.0.0.rc.1 <4.27.5",">=4.28.0.rc.1 <4.28.2"],"fixed":["3.25.5","4.27.5","4.28.2"],"advisory":"GHSA-735f-pc8j-v9w8"}],"cwes":["CWE-400","CWE-674","CWE-787","CWE-20"],"aliases":["GHSA-735f-pc8j-v9w8"],"references":[{"url":"https://github.com/protocolbuffers/protobuf/commit/cc8b3483a5584b3301e3d43d17eb59704857ffaa","tags":["Patch","fix","web"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0010/","tags":["Third Party Advisory","advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20250418-0006/","tags":["Third Party Advisory","advisory"]},{"url":"https://mvnrepository.com/artifact/com.google.protobuf/protobuf-java","tags":["web"]},{"url":"https://rubygems.org/gems/google-protobuf","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/7xxx/CVE-2024-7254.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7254","tags":["advisory"]},{"url":"https://github.com/protocolbuffers/protobuf","tags":["package"]},{"url":"https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-735f-pc8j-v9w8","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/commit/4728531c162f2f9e8c2ca1add713cfee2db6be3b","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/commit/850fcce9176e2c9070614dab53537760498c926b","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/commit/9a5f5fe752a20cbac2e722b06949ac985abdd534","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/commit/ac9fb5b4c71b0dd80985b27684e265d1f03abf46","tags":["web"]},{"url":"https://github.com/protocolbuffers/protobuf/commit/d6c82fc55a76481c676f541a255571e8950bb8c3","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/google-protobuf/CVE-2024-7254.yml","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20241213-0010","tags":["web"]},{"url":"https://security.netapp.com/advisory/ntap-20250418-0006","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial"},"epss":0.02772,"epssPercentile":0.86636,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-7254","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-7254","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-7254","ok":true,"note":"5 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-735f-pc8j-v9w8","ok":true,"note":"GHSA-735f-pc8j-v9w8"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-7254","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}