---
title: "CVE-2022-1941\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2022-1941?format=md
keywords: index, follow
---

# CVE-2022-1941

Publication date 22 September 2022

Last updated 25 August 2025

---

Ubuntu priority

**Low**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

## Cvss 3 Severity Score

**7.5 · High**

[Score breakdown](https://ubuntu.com/security/CVE-2022-1941?format=md#impact-score)

Toggle side navigation

## Description

A parsing vulnerability for the MessageSet type in the ProtocolBuffers
versions prior to and including 3.16.1, 3.17.3, 3.18.2, 3.19.4, 3.20.1 and
3.21.5 for protobuf-cpp, and versions prior to and including 3.16.1,
3.17.3, 3.18.2, 3.19.4, 3.20.1 and 4.21.5 for protobuf-python can lead to
out of memory failures. A specially crafted message with multiple key-value
per elements creates parsing issues, and can lead to a Denial of Service
against services receiving unsanitized input. We recommend upgrading to
versions 3.18.3, 3.19.5, 3.20.2, 3.21.6 for protobuf-cpp and 3.18.3,
3.19.5, 3.20.2, 4.21.6 for protobuf-python. Versions for 3.16 and 3.17 are
no longer updated.

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| protobuf | 23.04 lunar | Not affected |
| 22.10 kinetic | Fixed 3.12.4-1ubuntu7.22.10.1 |
| 22.04 LTS jammy | Fixed 3.12.4-1ubuntu7.22.04.1 |
| 20.04 LTS focal | Fixed 3.6.1.3-2ubuntu5.2 |
| 18.04 LTS bionic | Fixed 3.0.0-9.1ubuntu1.1 |
| 16.04 LTS xenial | Fixed 2.6.1-1.3ubuntu0.1~esm2  Ubuntu Pro |
| 14.04 LTS trusty | Ignored end of standard support |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2022-1941?format=md#patch-details)

### 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](https://ubuntu.com/pro)
[30-day free trial](https://ubuntu.com/pro/free-trial)

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| protobuf | * Upstream:   [b4c395a](https://github.com/protocolbuffers/protobuf/commit/b4c395aaedfacb32e2414d361fa85968c0991b34) |

## Severity score breakdown

CVSS version:
CVSS v3.0

**Base score**

7.5 · High

* Base metrics

  | Parameter | Value |
  | --- | --- |
  | Attack vector | Network |
  | Attack complexity | Low |
  | Privileges required | None |
  | User interaction | None |
  | Scope | Unchanged |
  | Confidentiality impact | None |
  | Integrity impact | None |
  | Availability impact | High |
* Scores

  | Parameter | Value |
  | --- | --- |
  | Base score | 7.5 · High |
  | Exploitability score | - |
  | Impact score | - |

**Vector:** CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1941)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2022-1941)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2022-1941)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2022-1941)

### Related Ubuntu Security Notices (USN)

+ [USN-5769-1](https://usn.ubuntu.com/USN-5769-1)
+ protobuf vulnerabilities
+ 8 December 2022

+ [USN-5945-1](https://usn.ubuntu.com/USN-5945-1)
+ Protocol Buffers vulnerabilities
+ 13 March 2023

### Other references

* <https://cloud.google.com/support/bulletins#GCP-2022-019>
* <https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-8gq9-2x98-w8hf>
* <https://github.com/protocolbuffers/protobuf/releases/tag/v3.20.2>
* <https://www.cve.org/CVERecord?id=CVE-2022-1941>
