protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.6.1 and 8.4.1, protobufjs could recurse without a depth limit while converting decoded messages to plain objects or JSON. This affected generated toObject() conversion and the custom google.protobuf.Any JSON conversion path. A crafted protobuf binary payload containing deeply nested Any values could cause the JavaScript call stack to be exhausted during conversion to JSON. This vulnerability is fixed in 7.6.1 and 8.4.1.
Fix
Patch, vendor advisory and mitigation references on NVD 1
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6 Mitigation, Vendor Advisory
Every line above is quoted from NVD, CISA, Microsoft, the vendor's own advisory or DISA; nothing is generated.
Change history 1
- First seenCVSS 7.5 · protobufjs_projectNVD modified 2026-10-25 23:10
Affected (CPE criteria) 1
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
References 1
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6 Mitigation, Vendor Advisory