CVE-2026-59877
Received
Received - Intake
ReDoS in protobufjs via Malformed Proto Schema
Vulnerability report for CVE-2026-59877, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-08
Last updated on: 2026-07-08
Assigner: GitHub, Inc.
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| protobufjs | protobufjs | to 7.6.5 (exc) |
| protobufjs | protobufjs | to 8.6.6 (exc) |
| protobufjs | protobufjs | From 7.5.0 (inc) to 7.6.5 (exc) |
| protobufjs | protobufjs | From 8.0.0 (inc) to 8.6.6 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-835 | The product contains an iteration or loop with an exit condition that cannot be reached, i.e., an infinite loop. |