Uncontrolled Recursion in protobuf.js - CVE-2026-45740

 

Uncontrolled Recursion in protobuf.js - CVE-2026-45740

Published: May 13, 2026


Vulnerability identifier: #VU131350
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2026-45740
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: protobuf.js
Affected software:
protobuf.js

Detailed vulnerability description

The vulnerability allows a remote attacker to cause a denial of service.

The vulnerability exists due to uncontrolled recursion in Root.fromJSON() and Namespace.addJSON() when processing crafted JSON descriptors with deeply nested namespace definitions. A remote attacker can provide a specially crafted JSON descriptor to cause a denial of service.

This affects applications that load JSON descriptors from untrusted sources.


How to mitigate CVE-2026-45740

Install security update from vendor's website.

Sources