Moderate Vulnerability in Protocol Buffers (protobuf) - Message Parsing Issue

protobuf Updated 02 Oct 2025

Summary

13/05/2025
N/A
Yes i
Unrated
Not published

ALSA-2025:7138: Moderate: protobuf security update. Affects protobuf versions < 3.14.0-16.el9. Fixed in 3.14.0-16.el9. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The protobuf package provides Protocol Buffers, which is Google's efficient data interchange format. It allows for the serialization of structured data in a flexible and extensible manner. This package is widely used for data communication between services and applications. However, it has been found to be vulnerable to a message parsing issue that could potentially lead to security risks.

Vulnerability Detail

The vulnerability identified as CVE-2022-1941 pertains to a message parsing flaw in Protocol Buffers. This issue can allow an attacker to craft malicious input that, when processed by the protobuf library, could lead to unexpected behavior or even arbitrary code execution. The vulnerability arises from improper handling of certain message formats, which can be exploited if an application does not validate input data adequately.

How To Fix

Minimum fixed version

3.14.0-16.el9

This is the first release that contains the fix.

sudo dnf update protobuf

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, ensure that your application validates all input data before processing it with Protocol Buffers. This can help mitigate the risk of exploitation until the package is updated.

Conclusion

The protobuf package has a moderate vulnerability (CVE-2022-1941) related to message parsing. It is crucial to update to the patched version 3.14.0-16.el9 to safeguard against potential exploits. Until then, validating input data is recommended as a temporary measure.

See every vulnerability recorded for protobuf →

Share this vulnerability

FAQ

CVE-2022-1941 is a security vulnerability in the Protocol Buffers library that involves a message parsing flaw, potentially leading to security breaches.

You can use the Vulert playground at Vulert Scanner to check if your application is affected by this vulnerability without needing to sign up.

If exploited, this vulnerability could allow attackers to execute arbitrary code, leading to data breaches or system compromise.

Yes, the patched version of the protobuf package is 3.14.0-16.el9. Updating to this version will resolve the vulnerability.

If immediate updating is not possible, ensure that your application performs strict validation of all input data to mitigate potential risks.

Related vulnerabilities

Recent vulnerabilities recorded for protobuf.

How To Fix

Minimum fixed version

3.14.0-16.el9

This is the first release that contains the fix.

sudo dnf update protobuf

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback