# CVE-2026-59877: protobufjs: Denial of Service via infinite loop in .proto option parsing

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2026-07-08T15:28:07.696Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-j3f2-48v5-ccww
- Weaknesses: CWE-835
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- protobufjs protobuf.js: >= 7.5.0, < 7.6.5; >= 8.0.0, < 8.6.6
- protobufjs (npm): from 7.5.0 before 7.6.5; from 8.0.0 before 8.6.6
- protobufjs_project protobufjs: before 7.6.5; from 8.0.0 before 8.6.6

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-j3f2-48v5-ccww> (mitigation, vendor-advisory, web)
- <https://github.com/protobufjs/protobuf.js/pull/2352> (issue-tracking, patch, web)
- <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/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://nvd.nist.gov/vuln/detail/CVE-2026-59877> (advisory)
- <https://github.com/protobufjs/protobuf.js> (package)

## Sources

- CVE List: [CVE-2026-59877](https://www.cve.org/CVERecord?id=CVE-2026-59877), CVE Terms of Use, modified 2026-07-08
- GitHub Advisory Database: [GHSA-j3f2-48v5-ccww](https://github.com/advisories/GHSA-j3f2-48v5-ccww), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-59877](https://nvd.nist.gov/vuln/detail/CVE-2026-59877), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-59877 · Whole record: https://cve.day/CVE-2026-59877.json · Rebuilt by cve.day 2026-11-25T22:59:27.394Z
