Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. protobufjs
  4. ›
  5. CVE-2026-48712

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

June 15, 2026 (updated July 15, 2026)

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.

References

  • github.com/advisories/GHSA-wcpc-wj8m-hjx6
  • github.com/protobufjs/protobuf.js/security/advisories/GHSA-wcpc-wj8m-hjx6
  • nvd.nist.gov/vuln/detail/CVE-2026-48712

Code Behaviors & Features

Detect and mitigate CVE-2026-48712 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 7.6.1, all versions starting from 8.0.0 before 8.4.1

Fixed versions

  • 7.6.1
  • 8.4.1

Solution

Upgrade to versions 7.6.1, 8.4.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-674: Uncontrolled Recursion

Source file

npm/protobufjs/CVE-2026-48712.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:55 +0000.