Skip to main content
← All vulnerabilities
CVE-2026-45740GHSA-JGGG-4JG4-V7C6

protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.8, 8.2.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.8 and 8.2.0, 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. This vulnerability is fixed in 7.5.8 and 8.2.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.5.8; From 8.0.0 · fixed in 8.2.0

  • protobufjsnpm

    fixed in 7.5.8

  • protobufjsnpm

    From 8.0.0 · fixed in 8.2.0

References 1

GitHub · protobufjs/protobuf.js