Back to list

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion — CVE-2026-45740

GitHub · GitHub · CVE-2026-45740

ID
CVE-2026-45740
Date
Activity
Source
GitHub
Vendor
GitHub
Threat
medium
CVSS
5.3
EPSS
0.00044

Summary

## Summary protobufjs could recurse without a depth limit while expanding nested JSON descriptors through `Root.fromJSON()` and `Namespace.addJSON()`. A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. ## Impact An attacker who can provide JSON descriptors loaded by an application may be able to crash the process or…

Product

npm: protobufjs

What to do

General, cautious steps (verify details in the official source):

  • Review exposure and plan remediation based on risk and environment.
  • Identify affected product versions in your inventory and verify whether you are impacted.
  • Apply vendor patches/updates or recommended mitigations as soon as available.
  • Read the official advisory for exact affected versions and remediation steps.

Official advisory

Related advisories