{"id":"CVE-2026-59877","published":"2026-07-08T15:28:07Z","modified":"2026-07-08T15:49:27Z","title":"protobufjs: Denial of Service via infinite loop in .proto option parsing","vendor":"protobufjs","product":"protobuf.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00365,"percentile":0.31175,"provenance":"source"},"cwes":[{"id":"CWE-835","name":"Loop with Unreachable Exit Condition"}],"references":[{"url":"https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-j3f2-48v5-ccww","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/protobufjs/protobuf.js/pull/2352","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/10fba6d54815ceecca8a06b9a6db490c8f5d2217","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/commit/fa5c73add738ceb471e74da8cc2f3727c3d0a69f","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.6.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.6.6","tags":["x_refsource_MISC"]}],"priority":{"score":9.9,"factors":[{"name":"EPSS percentile","points":6.24},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"protobufjs","affectedVersions":[{"vendor":"protobufjs","product":"protobuf.js","versions":[">= 7.5.0, < 7.6.5",">= 8.0.0, < 8.6.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-08T15:48:58.903197Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"protobufjs","vulnerableRanges":[">=7.5.0, <7.6.5",">=8.0.0, <8.6.6"],"patched":["7.6.5","8.6.6"],"from":["GHSA-j3f2-48v5-ccww"],"provenance":"source"}],"summary":{"text":"The protobufjs library (protobuf.js), which compiles protobuf definitions into JavaScript functions, has a flaw in its .proto option-name parsing: it advances through schema tokens until it finds an = token without checking for end of input. An attacker who supplies a crafted .proto schema that opens an option declaration and ends prematurely can make parse, Root.load, or Root.loadSync loop indefinitely, requiring only that the malicious schema be processed over the network with no authentication, privileges, or user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:06:30Z"},"euvd":{"id":"EUVD-2026-42310","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-protobufjs-protobuf-js-cve-2026-59876","parents":[{"from":"CVE-2026-59876","to":"CVE-2026-59877","relation":"successor","confidence":"high","kind":"lineage","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"8.6.5","toFixed":"8.6.6","daysApart":0},{"kind":"same-code","provenance":"machine","files":["src/parse.js"],"commits":["https://github.com/protobufjs/protobuf.js/commit/9f97fe413072d3beb52c74e62d88ea8adc9444d8","https://github.com/protobufjs/protobuf.js/commit/10fba6d54815ceecca8a06b9a6db490c8f5d2217","https://github.com/protobufjs/protobuf.js/commit/fa5c73add738ceb471e74da8cc2f3727c3d0a69f"],"basis":"shared function","functions":["parse"]}]}],"packageHistory":[{"cve":"CVE-2026-54270","published":"2026-06-22","fixed":"8.5.0","kev":false},{"cve":"CVE-2026-54269","published":"2026-06-22","fixed":"8.6.0","kev":false,"link":{"from":"CVE-2026-54269","to":"CVE-2026-59877","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:protobufjs","fromFixed":"7.6.3","toFixed":"7.6.5","daysApart":16}]}},{"cve":"CVE-2026-59876","published":"2026-07-08","fixed":"8.6.5","kev":false},{"cve":"CVE-2026-59877","published":"2026-07-08","fixed":"8.6.6","kev":false}],"package":"npm:protobufjs"}}