Home / mailings [USN-7629-2] Protocol Buffers vulnerabilities
Posted on 03 September 2025
Ubuntu Security==========================================================================Ubuntu Security Notice USN-7629-2
September 02, 2025
protobuf vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 20.04 LTS
- Ubuntu 18.04 LTS
- Ubuntu 16.04 LTS
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
--===============6538080045183305253==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature