CVE-2026-45740
Last modified
CVE-2026-45740 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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(). EPSS estimates a 0.26% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Protobufjs Project | Protobufjs | < 7.5.8 |
| Protobufjs Project | Protobufjs | >= 8.0.0, < 8.2.0 |
References
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6Mitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-45740?
How severe is CVE-2026-45740?
How do I fix CVE-2026-45740?
Are you affected by CVE-2026-45740?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
