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.0: 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/E:U/U:Green
CVE-ID: CVE-2026-48712
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 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.


How to mitigate CVE-2026-48712

Install security update from vendor's website.

Sources