# CVE-2026-45740: protobufjs: Denial of Service via unbounded recursive JSON descriptor expansion

- 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.26%, higher than 19% of CVEs (2026-12-01)
- Published: 2026-05-13T14:46:02.689Z
- Modified: 2026-11-11T20:10:00.273Z
- Also known as: GHSA-jggg-4jg4-v7c6
- Weaknesses: CWE-674
- 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.5.8 and 8.2.0, protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON(). A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. This vulnerability is fixed in 7.5.8 and 8.2.0.

(As written by CVE List.)

## Affected

- protobufjs protobuf.js: < 7.5.8; >= 8.0.0, < 8.2.0
- protobufjs (npm): before 7.5.8; from 8.0.0 before 8.2.0
- protobufjs_project protobufjs: before 7.5.8; from 8.0.0 before 8.2.0

## 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-jggg-4jg4-v7c6> (mitigation, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-45740> (advisory)
- <https://github.com/protobufjs/protobuf.js> (package)

## Sources

- CVE List: [CVE-2026-45740](https://www.cve.org/CVERecord?id=CVE-2026-45740), CVE Terms of Use, modified 2026-05-13
- GitHub Advisory Database: [GHSA-jggg-4jg4-v7c6](https://github.com/advisories/GHSA-jggg-4jg4-v7c6), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-45740](https://nvd.nist.gov/vuln/detail/CVE-2026-45740), Public domain, modified 2026-11-11

---

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