CVE 7.5 HIGH

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

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

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.

Basic Information

ID CVE-2026-48712
Source GitHub_M
Published Jun 22, 2026 at 16:21

Affected Product

Vendor protobufjs
Product protobuf.js
Version < 7.6.1
Affected Versions protobufjs protobuf.js < 7.6.1
protobufjs protobuf.js >= 8.0.0, < 8.4.1

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.