CVE-2026-48712
Description
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.
How to fix
- protobufjs_project protobufjs7.6.1, 8.4.1 or later
- protobufjs7.6.1, 8.4.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| protobufjs_project protobufjs | v < 7.6.1, 8.0.0 ≤ v < 8.4.1 | 7.6.1, 8.4.1 |
| protobufjsnpm | v < 7.6.1, 8.0.0 ≤ v < 8.4.1 | 7.6.1, 8.4.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.