CVE-2026-45740
Published:May 13, 2026
Updated:May 16, 2026
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.
Affected Packages
protobufjs (CDN_JS):
Affected version(s) >=6.10.3 <7.5.8Fix Suggestion:
Update to version 7.5.8protobufjs (CDN_JS):
Affected version(s) >=8.0.0-experimental <8.2.0Fix Suggestion:
Update to version 8.2.0https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v7.0.0 <protobufjs-v7.5.8Fix Suggestion:
Update to version protobufjs-v7.5.8https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v8.0.0 <protobufjs-8.2.0Fix Suggestion:
Update to version protobufjs-8.2.0protobufjs (NPM):
Affected version(s) >=8.0.0 <8.2.0Fix Suggestion:
Update to version 8.2.0protobufjs (NPM):
Affected version(s) >=0.0.0 <7.5.8Fix Suggestion:
Update to version 7.5.8Related Resources (1)
Do you need more information?
Contact UsCVSS v4
Base Score:
6.9
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Weakness Type (CWE)
Uncontrolled Recursion
EPSS
Base Score:
0.04