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

 

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

Published: June 9, 2026


Vulnerability identifier: #VU134151
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-48712
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 google.protobuf.Any JSON conversion and generated toObject() conversion when converting decoded protobuf messages to JSON or plain objects. A remote attacker can provide a crafted protobuf binary payload with deeply nested Any values to cause a denial of service.

Exploitation requires that the application decode attacker-influenced protobuf input, that the schema include google.protobuf.Any with a resolvable type_url, and that the decoded message be converted through an affected JSON conversion path.


Affected software

protobuf.js

How to mitigate CVE-2026-48712

Install security update from vendor's website.

protobuf.js - addressed in versions 7.6.1, 8.4.1

External References

Related Security Bulletins