Home / mailings [USN-7629-1] Protocol Buffers vulnerabilities
Posted on 09 July 2025
Ubuntu Security==========================================================================Ubuntu Security Notice USN-7629-1
July 09, 2025
protobuf vulnerabilities
==========================================================================
A security issue affects these releases of Ubuntu and its derivatives:
- Ubuntu 25.04
- Ubuntu 24.04 LTS
- Ubuntu 22.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:
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 25.04
libprotobuf-java 3.21.12-10ubuntu0.1
python3-protobuf 3.21.12-10ubuntu0.1
Ubuntu 24.04 LTS
libprotobuf-java 3.21.12-8.2ubuntu0.2
python3-protobuf 3.21.12-8.2ubuntu0.2
Ubuntu 22.04 LTS
libprotobuf-java 3.12.4-1ubuntu7.22.04.4
python3-protobuf 3.12.4-1ubuntu7.22.04.4
In general, a standard system update will make all the necessary changes.
References:
https://ubuntu.com/security/notices/USN-7629-1
CVE-2024-7254, CVE-2025-4565
Package Information:
https://launchpad.net/ubuntu/+source/protobuf/3.21.12-10ubuntu0.1
https://launchpad.net/ubuntu/+source/protobuf/3.21.12-8.2ubuntu0.2
https://launchpad.net/ubuntu/+source/protobuf/3.12.4-1ubuntu7.22.04.4
--===============7612125818975282904==Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature