CVE-2026-45740: protobufjs compiles protobuf definitions into JavaScript (JS) functions
CVE-2026-45740 is a medium-severity flaw (CVSS 5.3) affecting protobufjs. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.3 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.3% (top 82%) |
| CISA exploited list | No |
| Weakness | CWE-674 |
| Published | 2026-05-13 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-45740?
protobufjs: upgrade to 7.5.8, 8.2.0. Exact commands for each OS are on this page.
Is CVE-2026-45740 being exploited?
CVE-2026-45740 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-45740 affect?
CVE-2026-45740 affects protobufjs. Severity is medium (CVSS 5.3). 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 cra
How urgent is CVE-2026-45740?
Priority 28/100. Remotely exploitable, no login, no user action
Related CVEs
- CVE-2026-48712 HIGH 7.5 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-54269 MEDIUM 5.3 UPGRADE UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-54270 MEDIUM 5.3 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-59877 MEDIUM 5.3 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions
- CVE-2026-59876 MEDIUM 4.8 UPGRADE protobufjs compiles protobuf definitions into JavaScript (JS) functions