Overly broad permissions can turn one compromised account into a much larger security problem. Learn how to reduce unnecessary access, review privileges, and apply least privilege across modern Linux systems. Review Linux Privileges×

Alerts This Week
Warning Icon 1 507
Alerts This Week
Warning Icon 1 507

Ubuntu 20.04: USN-7629-2 Protocol Buffers Important DoS CVE-2025-4565

ubuntu
Calendar Grey September 2, 2025
Scroller Ubuntu
Immediate action required for Protocol Buffers on Ubuntu versions 16.04, 18.04, and 20.04 to mitigate potential denial-of-service vulnerabilities.
Protocol Buffers could be made to crash if it received specially crafted input.

Summary

Protocol Buffers could be made to crash if it received specially crafted

input.

Software Description:

- protobuf: protocol buffers data serialization library

Details:

USN-7435-1 and USN-7629-1 fixed vulnerabilities in Protocol Buffers

for several releases of Ubuntu. This update provides the corresponding

fixes for Ubuntu 16.04 LTS, Ubuntu 18.04 LTS, and Ubuntu 20.04 LTS.

Original advisory details:

It was discovered that Protocol Buffers incorrectly handled memory when

receiving malicious input using the Python bindings. An attacker could

possibly use this issue to cause a denial of service. (CVE-2025-4565)

It was discovered that Protocol Buffers incorrectly handled memory when

receiving malicious input using the Java bindings. An attacker could

possibly use this issue to cause a denial of service. This issue only

affected Ubuntu 25.04. (CVE-2024-7254)

Update Instructions

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 20.04 LTS
  libprotobuf-java                3.6.1.3-2ubuntu5.2+esm2
                                  Available with Ubuntu Pro
  python3-protobuf                3.6.1.3-2ubuntu5.2+esm2
                                  Available with Ubuntu Pro

Ubuntu 18.04 LTS
  libprotobuf-java                3.0.0-9.1ubuntu1.1+esm3
                                  Available with Ubuntu Pro
  python3-protobuf                3.0.0-9.1ubuntu1.1+esm3
                                  Available with Ubuntu Pro

Ubuntu 16.04 LTS
  libprotobuf-java                2.6.1-1.3ubuntu0.1~esm4
                                  Available with Ubuntu Pro
  python-protobuf                 2.6.1-1.3ubuntu0.1~esm4
                                  Available with Ubuntu Pro

In general, a standard system update will make all the necessary changes.

References

https://ubuntu.com/security/notices/USN-7629-2

https://ubuntu.com/security/notices/USN-7629-1

CVE-2024-7254, CVE-2025-4565

Severity
important
Lowest
Low
Medium
High
Critical

Ubuntu Security Notice USN-7629-2

Package Information

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.