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-45740: CWE-674: Uncontrolled Recursion in protobufjs protobuf.js

0
Medium
VulnerabilityCVE-2026-45740cvecve-2026-45740cwe-674
Published: Wed May 13 2026 (05/13/2026, 14:46:02 UTC)
Source: CVE Database V5
Vendor/Project: protobufjs
Product: protobuf.js

Description

protobuf. js versions prior to 7. 5. 8 and between 8. 0. 0 and 8. 2. 0 contain an uncontrolled recursion vulnerability in the functions Root. fromJSON() and Namespace. addJSON().

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/13/2026, 15:37:35 UTC

Technical Analysis

The protobuf.js library, used to compile protobuf definitions into JavaScript functions, had a vulnerability (CWE-674) involving uncontrolled recursion during the expansion of nested JSON descriptors via Root.fromJSON() and Namespace.addJSON(). Versions prior to 7.5.8 and from 8.0.0 up to but not including 8.2.0 could be forced to recurse without a depth limit, leading to exhaustion of the JavaScript call stack. This vulnerability can cause application crashes or denial of service when processing maliciously crafted deeply nested JSON descriptors. The issue is resolved in protobuf.js versions 7.5.8 and 8.2.0.

Potential Impact

The vulnerability allows an attacker to cause a denial of service by triggering a stack overflow through deeply nested JSON descriptors. There is no impact on confidentiality or integrity, only availability is affected. No known exploits are reported in the wild.

Mitigation Recommendations

Upgrade protobuf.js to version 7.5.8 or later if using the 7.x branch, or to version 8.2.0 or later if using the 8.x branch. These versions contain fixes that impose recursion depth limits to prevent stack exhaustion. Patch status is confirmed by the vendor advisory indicating these versions resolve the issue.

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-13T06:54:34.219Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a049721cbff5d8610e00ee1

Added to database: 5/13/2026, 3:22:09 PM

Last enriched: 5/13/2026, 3:37:35 PM

Last updated: 5/13/2026, 4:41:59 PM

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