CVE-2026-59877
Description
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.6.5 and 8.6.6, protobufjs parsed option names by advancing through schema tokens until reaching an = token without checking for end of input, so a crafted .proto schema that opens an option declaration and ends prematurely can cause parse, Root.load, or Root.loadSync to loop indefinitely. This issue is fixed in versions 7.6.5 and 8.6.6.
How to fix
- protobufjs_project protobufjs7.6.5, 8.6.6 or later
- protobufjs7.6.5, 8.6.6 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| protobufjs_project protobufjs | v < 7.6.5, 8.0.0 ≤ v < 8.6.6 | 7.6.5, 8.6.6 |
| protobufjsnpm | 7.5.0 ≤ v < 7.6.5, 8.0.0 ≤ v < 8.6.6 | 7.6.5, 8.6.6 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.