Security mailing lists by PureSourceCode

CVE-2022-1941

HIGH 7.5CVSS 3.1

protobuf-cpp and protobuf-python have potential Denial of Service issue

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.

Published
22 Sep 2022
Last modified
8 Jul 2026
Assigned by
cve-coordination@google.com
NVD status
Modified
Weakness
CWE-119CWE-1286
Also known as
GHSA-8gq9-2x98-w8hfPYSEC-2026-899
Sources
NVDJSONOSV GHSA-8gq9-2x98-w8hfJSONOSV PYSEC-2026-899JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD google protobuf-cpp
cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*
< 3.18.3 3.18.3
NVD google protobuf-cpp
cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*
>= 3.19.0, < 3.19.5 3.19.5
NVD google protobuf-cpp
cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.2 3.20.2
NVD google protobuf-cpp
cpe:2.3:a:google:protobuf-cpp:*:*:*:*:*:*:*:*
>= 3.21.0, < 3.21.6 3.21.6
NVD google protobuf-python
cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*
< 3.18.3 3.18.3
NVD google protobuf-python
cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*
>= 3.19.0, < 3.19.5 3.19.5
NVD google protobuf-python
cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*
>= 3.20.0, < 3.20.2 3.20.2
NVD google protobuf-python
cpe:2.3:a:google:protobuf-python:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.21.6 4.21.6
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
= 36
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:37:*:*:*:*:*:*:*
= 37
NVD debian debian_linux
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*
= 10.0
OSV PyPI protobuf < 3.18.3 3.18.3
OSV PyPI protobuf >= 3.19.0, < 3.19.5 3.19.5
OSV PyPI protobuf >= 3.20.0, < 3.20.2 3.20.2
OSV PyPI protobuf >= 4.0.0, < 4.21.6 4.21.6
OSV PyPI protobuf < 3.18.3; >= 3.19.0, < 3.19.5; >= 3.20.0, < 3.20.2; >= 4.0.0, < 4.21.6 3.18.3, 3.19.5, 3.20.2, 4.21.6

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 22 Sep 2022)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Sep 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.