Vulnerabilities/

protobuf.js: Denial of service through unbounded protobuf recursion

Severity:
High

Description

protobufjs could recurse without a depth limit while decoding nested protobuf data. This affected both skipping unknown group fields and generated decoding of nested message fields.

A crafted protobuf binary payload could cause the JavaScript call stack to be exhausted during decoding.

Recommendation

Update the protobufjs package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
protobufjs
Anything's wrong? Let us know Last updated on May 14, 2026