CVE-2026-45740

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*

History

No history.

Information

Published : 2026-05-13 16:17

Updated : 2026-06-17 10:52


NVD link : CVE-2026-45740

Mitre link : CVE-2026-45740

CVE.ORG link : CVE-2026-45740


JSON object : View

Products Affected

protobufjs_project

  • protobufjs
CWE
CWE-674

Uncontrolled Recursion