CVE-2026-45740: CWE-674: Uncontrolled Recursion in protobufjs protobuf.js
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 Analysis
Technical Summary
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.
CVE-2026-45740: CWE-674: Uncontrolled Recursion in protobufjs 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
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.
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 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.