CVE catalog

CVE-2022-1941

protobuf: CVE-2022-1941

[CVE catalog]

Severity
Medium · CVSS 6.5CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
Published
Source
[NVD] · [CVE record]
EPSS
1.51% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianprotobufsid3.21.12-17fixed
Debianprotobufforky3.21.12-17fixed
Debianprotobuftrixie3.21.12-11+deb13u1fixed
Debianprotobufbookworm3.21.12-3+deb12u1fixed
PyPIprotobufNot reported4.21.6fixed
PyPIprotobufNot reported4.21.6fixed
PyPIprotobufNot reported3.18.3fixed
PyPIprotobufNot reported3.19.5fixed
PyPIprotobufNot reported3.20.2fixed
Ubuntuprotobufpro2.6.1-1.2vulnerable
Ubuntuprotobufpro2.6.1-1.3vulnerable
Ubuntuprotobufpro2.6.1-1.3ubuntu0.1~esm1vulnerable
Ubuntuprotobufpro2.6.1-1.3ubuntu0.1~esm2fixed
Ubuntuprotobuf18.043.0.0-9ubuntu5vulnerable
Ubuntuprotobuf18.043.0.0-9ubuntu6vulnerable
Ubuntuprotobuf18.043.0.0-9.1ubuntu1vulnerable
Ubuntuprotobuf18.043.0.0-9.1ubuntu1.1fixed
Ubuntuprotobuf20.043.6.1.3-2vulnerable
Ubuntuprotobuf20.043.6.1.3-2ubuntu1vulnerable
Ubuntuprotobuf20.043.6.1.3-2ubuntu3vulnerable
Ubuntuprotobuf20.043.6.1.3-2ubuntu4vulnerable
Ubuntuprotobuf20.043.6.1.3-2ubuntu5vulnerable
Ubuntuprotobuf20.043.6.1.3-2ubuntu5.2fixed
Ubuntuprotobuf22.043.12.4-1ubuntu3vulnerable
Ubuntuprotobuf22.043.12.4-1ubuntu5vulnerable
Ubuntuprotobuf22.043.12.4-1ubuntu6vulnerable
Ubuntuprotobuf22.043.12.4-1ubuntu7vulnerable
Ubuntuprotobuf22.043.12.4-1ubuntu7.22.04.1fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianprotobufsourcesid3.21.9-3not yet assignedNot reportedNot reported
Debianprotobufsourceforky3.21.9-3not yet assignedNot reportedNot reported
Debianprotobufsourcetrixie3.21.9-3not yet assignedNot reportedNot reported
Debianprotobufsourcebookworm3.21.9-3not yet assignedNot reportedNot reported
PyPIprotobufPyPINot reported4.21.6Not reportedGHSA-8GQ9-2X98-W8HFNot reported
PyPIprotobufPyPINot reported4.21.6Not reportedPYSEC-2026-899Not reported
PyPIprotobufPyPINot reported3.18.3Not reportedPYSEC-2026-899Not reported
PyPIprotobufPyPINot reported3.19.5Not reportedPYSEC-2026-899Not reported
PyPIprotobufPyPINot reported3.20.2Not reportedPYSEC-2026-899Not reported
Ubuntuprotobufdebpro2.6.1-1.3ubuntu0.1~esm2Not reportedUBUNTU-CVE-2022-1941Not reported
Ubuntuprotobufdeb18.043.0.0-9.1ubuntu1.1Not reportedUBUNTU-CVE-2022-1941Not reported
Ubuntuprotobufdeb20.043.6.1.3-2ubuntu5.2Not reportedUBUNTU-CVE-2022-1941Not reported
Ubuntuprotobufdeb22.043.12.4-1ubuntu7.22.04.1Not reportedUBUNTU-CVE-2022-1941Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · all · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

  • Source package: [protobuf]

    Details (2)
    • 3.21.12-3+deb12u1 · amd64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

    • 3.21.12-3+deb12u1 · arm64 · bookworm

      Fixed · Fixed: 3.21.9-3

      dsa · protobuf · debian · bookworm

Observed:

References