Live threats

All CVEs / Protobufjs Project

CVE-2026-45740Protobufjs Project Protobufjs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
May 13, 2026
Updated
Nov 11, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-674
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Protobufjs.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm protobufjs < 7.5.8 7.5.8 npm install protobufjs@7.5.8
npm protobufjs ≥ 8.0.0 < 8.2.0 8.2.0 npm install protobufjs@8.2.0

Per OSV / GitHub Advisories (GHSA-jggg-4jg4-v7c6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protobufjs_projectprotobufjs< 7.5.8
protobufjs_projectprotobufjs≥ 8.0.0 < 8.2.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.