7.5
High
CVE-2026-48712 protobufjs compiles protobuf definitions into JavaScript (JS) functions
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.
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| protobuf.js 8.0 | 8.0.0 → < 8.4.1 | 8.4.1 |
| protobuf.js 7.6 | earliest → < 7.6.1 | 7.6.1 |
References
- github.com github.com
Timeline
- Published
- Last modified
Other CVEs of protobuf.js
The 16 CVEs of protobuf.js →
CVE-2026-59876
protobufjs compiles protobuf definitions into JavaScript (JS) functions
4.8
Medium
CVE-2026-59877
protobufjs compiles protobuf definitions into JavaScript (JS) functions
5.3
Medium
CVE-2026-54269
protobufjs compiles protobuf definitions into JavaScript (JS) functions
5.3
Medium
CVE-2026-54270
protobufjs compiles protobuf definitions into JavaScript (JS) functions
5.3
Medium