PT-2026-40697 · Npm · Protobufjs

Published

2026-05-13

·

Updated

2026-05-19

·

CVE-2026-45740

CVSS v3.1

7.5

High

VectorAV: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

Weakness Enumeration

Related Identifiers

CVE-2026-45740
GHSA-JGGG-4JG4-V7C6

Affected Products

Protobufjs