CVE-2026-45740

published 13 May 2026 · updated 11 Nov 2026

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

5.3MediumCVSS 5.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 7.5.8 and 8.2.0.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
protobufjs<7.5.8, >=8.0.0 <8.2.0
protobufjs_projectprotobufjs<7.5.8, >=8.0.0 <8.2.07.5.8, 8.2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-45740 severity on Zeptric[![CVE-2026-45740](https://zeptric.io/badge/cve/CVE-2026-45740.svg)](https://zeptric.io/cve/CVE-2026-45740)