CVE-2024-7254

Publication date 19 September 2024

Last updated 15 September 2025


Ubuntu priority

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.

Read the notes from the security team

Status

Package Ubuntu Release Status
protobuf 25.04 plucky
Fixed 3.21.12-10ubuntu0.1
24.10 oracular
Fixed 3.21.12-9ubuntu1.1
24.04 LTS noble
Fixed 3.21.12-8.2ubuntu0.1
22.04 LTS jammy
Fixed 3.12.4-1ubuntu7.22.04.2
20.04 LTS focal
Fixed 3.6.1.3-2ubuntu5.2+esm2
18.04 LTS bionic
Fixed 3.0.0-9.1ubuntu1.1+esm3
16.04 LTS xenial
Fixed 2.6.1-1.3ubuntu0.1~esm4
14.04 LTS trusty Ignored changes too intrusive

Get expanded security coverage with Ubuntu Pro

Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.

Get Ubuntu Pro 30-day free trial

Notes


hlibk

The CVE page does not reference the correct commit.


john-breton

trusty is on 2.5.0, changes too involved to risk backporting

Patch details

For informational purposes only. We recommend not to cherry-pick updates. How can I get the fixes?

Package Patch details
protobuf

References

Related Ubuntu Security Notices (USN)

    • USN-7435-1
    • Protocol Buffers vulnerability
    • 14 April 2025
    • USN-7629-1
    • Protocol Buffers vulnerabilities
    • 9 July 2025
    • USN-7629-2
    • Protocol Buffers vulnerabilities
    • 2 September 2025

Other references