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…
EPSS 0.3%top 82%

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

0
Medium
VulnerabilityCVE-2026-45740cvecve-2026-45740cwe-674
Published: 05/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 before 8.2.0 have an uncontrolled recursion vulnerability in the handling of nested JSON descriptors. This can cause the JavaScript call stack to be exhausted, leading to a denial of service during descriptor loading. The issue arises from the Root.

CVSS v3.1

Score 5.3medium

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

Affected software

protobufjs/protobuf.js
pkg:npm/protobufjs/protobuf.js
Affected versions
<7.5.8>=8.0.0 <8.2.0

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: 05/20/2026, 19:15:07 UTC

Technical Analysis

The protobuf.js library, used to compile protobuf definitions into JavaScript functions, contained an uncontrolled recursion vulnerability (CWE-674) in versions before 7.5.8 and between 8.0.0 and 8.2.0. Specifically, the functions Root.fromJSON() and Namespace.addJSON() could recurse indefinitely when processing crafted JSON descriptors with deeply nested namespaces, exhausting the JavaScript call stack and causing a denial of service. This vulnerability is addressed in versions 7.5.8 and 8.2.0 of protobuf.js.

Potential Impact

An attacker can cause a denial of service by supplying a crafted JSON descriptor with deeply nested namespaces, leading to exhaustion of the JavaScript call stack during descriptor loading. There is no impact on confidentiality or integrity, only availability is affected.

Mitigation Recommendations

Upgrade protobuf.js to version 7.5.8 or later, or 8.2.0 or later, where this uncontrolled recursion vulnerability is fixed. Patch status is confirmed by the version information in the advisory. No other mitigations are indicated.

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: 05/13/2026, 15:22:09 UTC

Last enriched: 05/20/2026, 19:15:07 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 262

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