CVE-2026-45740 MEDIUM

CVE-2026-45740: protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

Vendor Protobufjs
Product protobuf.js
Weakness CWE-674
Published May 13, 2026
Last update May 13, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

May 13, 2026 CVE published
May 13, 2026 Record updated