ADVISORIES

GitHub Advisory Database

GHSA-p2gh-cfq4-4wjc

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

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.

Affected packages

EcosystemPackageAffected versions
Packagistgoogle/protobuf
All versions before 4.33.6 (fixed in 4.33.6)

References