CVE-2026-6409: Protobuf: Denial of Service issue through malicious messages containing negative varints or deep recursion
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.
Published Mar 25, 2026 · Updated Apr 16, 2026
Affected packages
google/protobuf
- Ecosystem
- Composer (PHP)
- Affected
- < 4.33.6
- Fixed in
- 4.33.6
- Check
composer show google/protobuf
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
Credited to 34selen.
References
- https://github.com/protocolbuffers/protobuf/security/advisories/GHSA-p2gh-cfq4-4wjc
- https://github.com/protocolbuffers/protobuf/issues/24159
- https://github.com/protocolbuffers/protobuf/issues/25067
- https://github.com/protocolbuffers/protobuf/commit/60e93d2d104f2af9cd345b1c6f3891d91430244a
- https://github.com/protocolbuffers/protobuf/commit/c8e9b27d95c6ab2d0668b5889e7dac2c477b7038
- https://nvd.nist.gov/vuln/detail/CVE-2026-6409
- https://github.com/advisories/GHSA-p2gh-cfq4-4wjc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
