Uncontrolled Recursion in protobuf.js - CVE-2026-45740
Published: May 13, 2026
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.