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: 6.9 [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]
CVE-ID: CVE-2026-45740
CWE-ID: CWE-674
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

protobuf.js

How to mitigate CVE-2026-45740

Install security update from vendor's website.

protobuf.js - addressed in versions 7.5.8, 8.2.0

External References

Related Security Bulletins