Skip to main content
← All vulnerabilities
CVE-2026-48712GHSA-WCPC-WJ8M-HJX6

protobufjs: Denial of service through unbounded Any expansion during JSON conversion

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.6.1, 8.4.1
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.6.1 and 8.4.1, protobufjs could recurse without a depth limit while converting decoded messages to plain objects or JSON. This affected generated toObject() conversion and the custom google.protobuf.Any JSON conversion path. A crafted protobuf binary payload containing deeply nested Any values could cause the JavaScript call stack to be exhausted during conversion to JSON. This vulnerability is fixed in 7.6.1 and 8.4.1.

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.6.1; From 8.0.0 · fixed in 8.4.1

  • protobufjsnpm

    fixed in 7.6.1

  • protobufjsnpm

    From 8.0.0 · fixed in 8.4.1

References 1

GitHub · protobufjs/protobuf.js