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.
References
| Link | Resource |
|---|---|
| https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6 | Mitigation Vendor Advisory |
Configurations
Configuration 1 (hide)
|
History
No history.
Information
Published : 2026-06-22 18:16
Updated : 2026-06-26 20:04
NVD link : CVE-2026-48712
Mitre link : CVE-2026-48712
CVE.ORG link : CVE-2026-48712
JSON object : View
Products Affected
protobufjs_project
- protobufjs
CWE
CWE-674
Uncontrolled Recursion
