CVEfocus › CVE database › CVE-2024-7254

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

CVSS 8.7 HighEPSS 0.9% (higher than 57% of CVEs)Published 2024-09-19Updated 2025-09-08Assigner: Google

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.

CWE-400CWE-674

What to do

Fixed builds are available from Debian, Maven, RubyGems, Ubuntu: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

10Fixed
4Fix pending
8Will not fix
58Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04protobufFixed3.21.12-8.2ubuntu0.1UBUNTU-CVE-2024-7254
Ubuntu 22.04protobufFixed3.12.4-1ubuntu7.22.04.2UBUNTU-CVE-2024-7254
Ubuntu 20.04protobufFix pending3.6.1.3-2ubuntu5.2+esm2 (Ubuntu Pro)UBUNTU-CVE-2024-7254
Ubuntu 18.04protobufFix pending3.0.0-9.1ubuntu1.1+esm3 (Ubuntu Pro)UBUNTU-CVE-2024-7254
Ubuntu 16.04protobufFix pending2.6.1-1.3ubuntu0.1~esm4 (Ubuntu Pro)UBUNTU-CVE-2024-7254
Ubuntu 14.04protobufFix pendingUBUNTU-CVE-2024-7254
Debian 14protobufFixed3.21.12-12DEBIAN-CVE-2024-7254
Debian 13protobufFixed3.21.12-11+deb13u1DEBIAN-CVE-2024-7254
Debian 12protobufFixed3.21.12-3+deb12u1DEBIAN-CVE-2024-7254
Red Hat Enterprise Linux 10mysql8.4Not affected
Red Hat Enterprise Linux 10mysql8.4-commonNot affected
Red Hat Enterprise Linux 10mysql8.4-develNot affected
Red Hat Enterprise Linux 10mysql8.4-errmsgNot affected
Red Hat Enterprise Linux 10mysql8.4-libsNot affected
Red Hat Enterprise Linux 10mysql8.4-serverNot affected
Red Hat Enterprise Linux 10mysql8.4-testNot affected
Red Hat Enterprise Linux 10mysql8.4-test-dataNot affected
Red Hat Enterprise Linux 10protobufNot affected
Red Hat Enterprise Linux 10protobuf-compilerNot affected
Red Hat Enterprise Linux 10protobuf-develNot affected
Red Hat Enterprise Linux 10protobuf-liteNot affected
Red Hat Enterprise Linux 10protobuf-lite-develNot affected
Red Hat Enterprise Linux 10python3-protobufNot affected
Red Hat Enterprise Linux 9mysqlNot affected
Red Hat Enterprise Linux 9mysql-commonNot affected
Red Hat Enterprise Linux 9mysql-develNot affected
Red Hat Enterprise Linux 9mysql-errmsgNot affected
Red Hat Enterprise Linux 9mysql-libsNot affected
Red Hat Enterprise Linux 9mysql-serverNot affected
Red Hat Enterprise Linux 9mysql-testNot affected
Red Hat Enterprise Linux 9protobufNot affected
Red Hat Enterprise Linux 9protobuf-compilerNot affected
Red Hat Enterprise Linux 9protobuf-develNot affected
Red Hat Enterprise Linux 9protobuf-liteNot affected
Red Hat Enterprise Linux 9protobuf-lite-develNot affected
Red Hat Enterprise Linux 9python3-protobufNot affected
Red Hat Enterprise Linux 8mecabNot affected
Red Hat Enterprise Linux 8mecab-develNot affected
Red Hat Enterprise Linux 8mecab-ipadicNot affected
Red Hat Enterprise Linux 8mecab-ipadic-EUCJPNot affected
Red Hat Enterprise Linux 8mysqlNot affected
Red Hat Enterprise Linux 8mysql-commonNot affected
Red Hat Enterprise Linux 8mysql-develNot affected
Red Hat Enterprise Linux 8mysql-errmsgNot affected
Red Hat Enterprise Linux 8mysql-libsNot affected
Red Hat Enterprise Linux 8mysql-serverNot affected
Red Hat Enterprise Linux 8mysql-testNot affected
Red Hat Enterprise Linux 8mysql-test-dataNot affected
Red Hat Enterprise Linux 8protobufNot affected
Red Hat Enterprise Linux 8protobuf-compilerNot affected
Red Hat Enterprise Linux 8protobuf-develNot affected
Red Hat Enterprise Linux 8protobuf-liteNot affected
Red Hat Enterprise Linux 8protobuf-lite-develNot affected
Red Hat Enterprise Linux 8python3-protobufNot affected
Red Hat Enterprise Linux 7protobufNot affected
Red Hat Enterprise Linux 7protobuf-compilerNot affected
Red Hat Enterprise Linux 7protobuf-develNot affected
Red Hat Enterprise Linux 7protobuf-emacsNot affected
Red Hat Enterprise Linux 7protobuf-emacs-elNot affected
Red Hat Enterprise Linux 7protobuf-javaNot affected
Red Hat Enterprise Linux 7protobuf-javadocNot affected
Red Hat Enterprise Linux 7protobuf-liteNot affected
Red Hat Enterprise Linux 7protobuf-lite-develNot affected
Red Hat Enterprise Linux 7protobuf-lite-staticNot affected
Red Hat Enterprise Linux 7protobuf-pythonNot affected
Red Hat Enterprise Linux 7protobuf-staticNot affected
Red Hat Enterprise Linux 7protobuf-vimNot affected
Red Hat Enterprise Linux 6mysqlWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-benchWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-embeddedWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-embedded-develWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-libsWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-serverWill not fix
Out of support scope
Red Hat Enterprise Linux 6mysql-testWill not fix
Out of support scope
Maven librarycom.google.protobuf:protobuf-javaFixed3.25.5GHSA-735f-pc8j-v9w8
Maven librarycom.google.protobuf:protobuf-javaliteFixed3.25.5GHSA-735f-pc8j-v9w8
Maven librarycom.google.protobuf:protobuf-kotlinFixed4.28.2GHSA-735f-pc8j-v9w8
Maven librarycom.google.protobuf:protobuf-kotlin-liteFixed4.27.5GHSA-735f-pc8j-v9w8
RubyGems librarygoogle-protobufFixed4.28.2GHSA-735f-pc8j-v9w8

What the vendor says

As published in the CVE record by Google, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.