HighGHSA-p2gh-cfq4-4wjcCVE-2026-6409

Protobuf: Denial of Service issue through malicious messages containing negative varints or deep recursion

Published 25 Mar 2026 · Updated 16 Apr 2026

Is your project on an affected google/protobuf?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Affected package

Affected
<4.33.6
Fixed in
4.33.6
Update to the fixed version for your release line, for example:composer require google/protobuf:^4.33.6

Details

Impact

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.

Patches

Patches have been released to 5.34.0-RC1 and 4.33.6.

Is GHSA-p2gh-cfq4-4wjc in any of your client repos?

Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected google/protobuf, and gives you the command that fixes it.

More advisories for google/protobuf

  • HighCVE-2015-5237protobuf susceptible to buffer overflow · 13 May 2022
google/protobuf security overview

References

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.