Live threats

All CVEs / Protobufjs Project

CVE-2026-48712Protobufjs Project Protobufjs

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Jun 22, 2026
Updated
Oct 25, 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.6.1 and 8.4.1, protobufjs could recurse without a depth limit while converting decoded messages to plain objects or JSON. This affected generated toObject() conversion and the custom google.protobuf.Any JSON conversion path. A crafted protobuf binary payload containing deeply nested Any values could cause the JavaScript call stack to be exhausted during conversion to JSON. This vulnerability is fixed in 7.6.1 and 8.4.1.

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.6.1 7.6.1 npm install protobufjs@7.6.1
npm protobufjs ≥ 8.0.0 < 8.4.1 8.4.1 npm install protobufjs@8.4.1

Per OSV / GitHub Advisories (GHSA-wcpc-wj8m-hjx6). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
protobufjs_projectprotobufjs< 7.6.1
protobufjs_projectprotobufjs≥ 8.0.0 < 8.4.1

Official sources

References

Links published by the sources. Open them with care.