Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. google/protobuf
  4. ›
  5. GHSA-p2gh-cfq4-4wjc

GHSA-p2gh-cfq4-4wjc: Protobuf: Denial of Service issue through malicious messages containing negative varints or deep recursion

March 25, 2026

A Denial of Service (DoS) vulnerability exists in the Protobuf PHP library during the parsing of untrusted input. Maliciously structured messages—specifically those containing negative varints or deep recursion—can be used to crash the application, impacting service availability.

References

  • github.com/advisories/GHSA-p2gh-cfq4-4wjc
  • github.com/protocolbuffers/protobuf
  • github.com/protocolbuffers/protobuf/commit/60e93d2d104f2af9cd345b1c6f3891d91430244a
  • github.com/protocolbuffers/protobuf/commit/c8e9b27d95c6ab2d0668b5889e7dac2c477b7038
  • github.com/protocolbuffers/protobuf/issues/24159
  • github.com/protocolbuffers/protobuf/issues/25067
  • github.com/protocolbuffers/protobuf/security/advisories/GHSA-p2gh-cfq4-4wjc

Code Behaviors & Features

Detect and mitigate GHSA-p2gh-cfq4-4wjc with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.33.6

Fixed versions

  • 4.33.6

Solution

Upgrade to version 4.33.6 or above.

Impact 6.5 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-400: Uncontrolled Resource Consumption

Source file

packagist/google/protobuf/GHSA-p2gh-cfq4-4wjc.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 26 Mar 2026 00:21:13 +0000.