CVE-2026-48712
CVE-2026-48712 · protobufjs: Denial of service through unbounded Any expansion during JSON conversion
This page contains facts from public vulnerability sources. Check the original advisory before updating.
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.
CVSS 7.5 · High · EPSS 0.5% · Fix available
- Published
- Updated
Stack: node
Affected products and versions
protobuf.js
- Versions
- < 7.6.1: Affected
- >= 8.0.0, < 8.4.1: Affected
No fix published
protobufjs npm
- Affected ranges
- SEMVER: < 7.6.1
Update to 7.6.1
protobufjs npm
- Affected ranges
- SEMVER: ≥ 8.0.0, < 8.4.1
Update to 8.4.1