CVE-2026-48712: CWE-674: Uncontrolled Recursion in protobufjs protobuf.js
protobuf.js versions prior to 7.6.1 and 8.4.1 contain an uncontrolled recursion vulnerability in the toObject() conversion and custom google.protobuf.Any JSON conversion. This can cause a JavaScript call stack exhaustion when processing crafted protobuf binaries with deeply nested Any values. The issue is fixed in versions 7.6.1 and 8.4.1.
AI Analysis
Technical Summary
The protobufjs library, used to compile protobuf definitions into JavaScript functions, had a vulnerability (CWE-674) involving uncontrolled recursion without a depth limit during conversion of decoded messages to plain objects or JSON. Specifically, the generated toObject() method and the custom google.protobuf.Any JSON conversion path could recurse indefinitely if given a crafted protobuf binary payload containing deeply nested Any values. This recursion leads to exhaustion of the JavaScript call stack, resulting in a denial of service. The vulnerability is addressed in protobuf.js versions 7.6.1 and 8.4.1.
Potential Impact
An attacker can cause a denial of service by supplying a malicious protobuf binary with deeply nested Any values, triggering uncontrolled recursion and exhausting the JavaScript call stack during conversion to JSON. This does not affect confidentiality or integrity but impacts availability by crashing or hanging the application using vulnerable protobuf.js versions.
Mitigation Recommendations
Upgrade protobuf.js to version 7.6.1 or later, or 8.4.1 or later, where this uncontrolled recursion vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating fixes in these versions. No other mitigations are specified.
CVE-2026-48712: CWE-674: Uncontrolled Recursion in protobufjs protobuf.js
Description
protobuf.js versions prior to 7.6.1 and 8.4.1 contain an uncontrolled recursion vulnerability in the toObject() conversion and custom google.protobuf.Any JSON conversion. This can cause a JavaScript call stack exhaustion when processing crafted protobuf binaries with deeply nested Any values. The issue is fixed in versions 7.6.1 and 8.4.1.
CVSS v3.1
Score 7.5high
Affected software
pkg:npm/protobufjs/protobuf.jsRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The protobufjs library, used to compile protobuf definitions into JavaScript functions, had a vulnerability (CWE-674) involving uncontrolled recursion without a depth limit during conversion of decoded messages to plain objects or JSON. Specifically, the generated toObject() method and the custom google.protobuf.Any JSON conversion path could recurse indefinitely if given a crafted protobuf binary payload containing deeply nested Any values. This recursion leads to exhaustion of the JavaScript call stack, resulting in a denial of service. The vulnerability is addressed in protobuf.js versions 7.6.1 and 8.4.1.
Potential Impact
An attacker can cause a denial of service by supplying a malicious protobuf binary with deeply nested Any values, triggering uncontrolled recursion and exhausting the JavaScript call stack during conversion to JSON. This does not affect confidentiality or integrity but impacts availability by crashing or hanging the application using vulnerable protobuf.js versions.
Mitigation Recommendations
Upgrade protobuf.js to version 7.6.1 or later, or 8.4.1 or later, where this uncontrolled recursion vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating fixes in these versions. No other mitigations are specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T18:47:27.755Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a39735aeed863c81e396226
Added to database: 06/22/2026, 17:39:38 UTC
Last enriched: 06/22/2026, 17:54:38 UTC
Last updated: 06/22/2026, 20:37:09 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.