Vulnerabilities/

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

Severity:
Medium

Description

protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON().

A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading.

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 19, 2026