CVE-2026-45740
HIGH 7.5CVSS 3.1protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.8 and 8.2.0, protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON(). A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. This vulnerability is fixed in 7.5.8 and 8.2.0.
- Published
- 13 May 2026
- Last modified
- 11 Nov 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-674
- Also known as
- GHSA-jggg-4jg4-v7c6
- Sources
- NVDJSONOSV GHSA-jggg-4jg4-v7c6JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | 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 |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
< 7.5.8 | 7.5.8 |
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
>= 8.0.0, < 8.2.0 | 8.2.0 |
| OSV | npm | protobufjs | < 7.5.8 | 7.5.8 |
| OSV | npm | protobufjs | >= 8.0.0, < 8.2.0 | 8.2.0 |
References
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6 · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-45740 · ADVISORY
- https://github.com/protobufjs/protobuf.js · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 May 2026)