Vulnerability · Published Jun 22, 2026 · Assigned by GitHub_M

CVE-2026-48712protobufjs: Denial of service through unbounded Any expansion during JSON conversion

High 7.5

In plain English

A high-severity security flaw in protobuf.js from protobufjs. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.5%top 59.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmprotobufjs7.6.1GHSA-wcpc-wj8m-hjx6
npmprotobufjs8.4.1GHSA-wcpc-wj8m-hjx6

Affected products (as reported)

VendorProductVersions
protobufjs protobuf.js < 7.6.1>= 8.0.0, < 8.4.1

Weakness: CWE-674 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

References