Vulnerabilities

CVE-2026-45740

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-05-13
Last modified
2026-11-11
Assigned by
security-advisories@github.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Scored by
nvd@nist.gov (NVD Primary)
Probability of exploitation
0.3 % higher than 18 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
Protobufjs Project Protobufjs < 7.5.8 Affected
Protobufjs Project Protobufjs ≥ 8.0.0, < 8.2.0 Affected

Weakness type

  • CWE-674: Uncontrolled Recursion

    The product does not properly control the amount of recursion that takes place, consuming excessive resources, such as allocated memory or the program stack.

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities