5.3
/ 10
MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Description
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.
Basic Information
ID
CVE-2026-45740
Source
GitHub_M
Published
May 13, 2026 at 14:46
Affected Product
Vendor
protobufjs
Product
protobuf.js
Version
< 7.5.8
Affected Versions
protobufjs protobuf.js < 7.5.8
protobufjs protobuf.js >= 8.0.0, < 8.2.0
protobufjs protobuf.js >= 8.0.0, < 8.2.0