PT-2026-40697 · Npm · Protobufjs
Published
2026-05-13
·
Updated
2026-05-19
·
CVE-2026-45740
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Name of the Vulnerable Software and Affected Versions
protobufjs versions prior to 7.5.8
protobufjs versions prior to 8.2.0
Description
protobufjs compiles protobuf definitions into JavaScript functions. The software can recurse without a depth limit when expanding nested JSON descriptors through the
Root.fromJSON() and Namespace.addJSON() functions. A crafted JSON descriptor containing deeply nested namespace definitions can exhaust the JavaScript call stack during descriptor loading, leading to a denial of service.Recommendations
Update to version 7.5.8.
Update to version 8.2.0.
Fix
DoS
Uncontrolled Recursion
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Protobufjs