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
26 Jun 2026, 20:04
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* | |
| References | () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6 - Mitigation, Vendor Advisory | |
| First Time |
Protobufjs Project protobufjs
Protobufjs Project |
22 Jun 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
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
