CVE-2026-48712
HIGH 7.5CVSS 3.1protobufjs: Denial of service through unbounded Any expansion during JSON conversion
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.
- Published
- 22 Jun 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-wcpc-wj8m-hjx6
- Sources
- NVDJSONOSV GHSA-wcpc-wj8m-hjx6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
< 7.6.1 | 7.6.1 |
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
>= 8.0.0, < 8.4.1 | 8.4.1 |
| OSV | npm | protobufjs | < 7.6.1 | 7.6.1 |
| OSV | npm | protobufjs | >= 8.0.0, < 8.4.1 | 8.4.1 |
References
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-48712 · ADVISORY
- https://github.com/protobufjs/protobuf.js · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 22 Jun 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 15 Jun 2026)