Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-48712: CWE-674: Uncontrolled Recursion in protobufjs protobuf.js

0
High
VulnerabilityCVE-2026-48712cvecve-2026-48712cwe-674
Published: 06/22/2026 (06/22/2026, 16:21:21 UTC)
Source: CVE Database V5
Vendor/Project: protobufjs
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected software

protobufjs/protobuf.js
pkg:npm/protobufjs/protobuf.js
Affected versions
<7.6.1>=8.0.0 <8.4.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/22/2026, 17:54:38 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses