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

13 May 2026, 20:50

Type Values Removed Values Added
CPE cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
First Time Protobufjs Project protobufjs
Protobufjs Project
References () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6 - () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6 - Mitigation, Vendor Advisory

13 May 2026, 16:49

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-13 16:17

Updated : 2026-05-13 20:50


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