Protobufjs protobuf.js
protobufjs: Denial of service through unbounded Any expansion during JSON conversion
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 7.6.1
- >= 8.0.0, < 8.4.1
Fixed in 7.6.1, 8.4.1
Mitigation
Upgrade protobuf.js to 7.6.1 or 8.4.1 or later.
References
- Vendor advisory github.com/protobufjs/protobuf.js/security/adv…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.1 not a PoC
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HORKimhab/CVE-2026-48172 | 23 May 2026 −30 d | 2 | Not a PoC · unrelated |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.