Vulnerability library
Security checkMay 19, 2026

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmprotobufjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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:

  • Affected version(s): **>= 8.0.0, < 8.2.0 <= 7.5.7**
  • Patched version(s): **8.2.0 7.5.8**

References

Could your website be exposed too?

SmartScanner can check your website for protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 19, 2026