CVE-2026-59877
HIGH 7.5CVSS 3.1protobufjs: Denial of Service via infinite loop in .proto option parsing
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.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-835
- Also known as
- GHSA-j3f2-48v5-ccww
- Sources
- NVDJSONOSV GHSA-j3f2-48v5-ccwwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
< 7.6.5 | 7.6.5 |
| NVD | protobufjs_project | protobufjscpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* |
>= 8.0.0, < 8.6.6 | 8.6.6 |
| OSV | npm | protobufjs | >= 7.5.0, < 7.6.5 | 7.6.5 |
| OSV | npm | protobufjs | >= 8.0.0, < 8.6.6 | 8.6.6 |
References
- https://github.com/protobufjs/protobuf.js/commit/10fba6d54815ceecca8a06b9a6db490c8f5d2217 · Patch, WEB
- https://github.com/protobufjs/protobuf.js/commit/fa5c73add738ceb471e74da8cc2f3727c3d0a69f · Patch, WEB
- https://github.com/protobufjs/protobuf.js/pull/2352 · Issue Tracking, Patch, WEB
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.6.5 · Product, Release Notes, WEB
- https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.6 · Product, Release Notes, WEB
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-j3f2-48v5-ccww · Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-59877 · ADVISORY
- https://github.com/protobufjs/protobuf.js · PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 20 Jul 2026)