CVE-2026-48712

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.
References
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*

History

25 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) protobufjs compila definiciones de protobuf en funciones de JavaScript (JS). Antes de 7.6.1 y 8.4.1, protobufjs podía recursar sin un límite de profundidad mientras convertía mensajes decodificados a objetos planos o JSON. Esto afectaba la conversión toObject() generada y la ruta de conversión JSON personalizada de google.protobuf.Any. Una carga útil binaria de protobuf manipulada que contenía valores Any profundamente anidados podía causar que la pila de llamadas de JavaScript se agotara durante la conversión a JSON. Esta vulnerabilidad está corregida en 7.6.1 y 8.4.1.

Information

Published : 2026-06-22 18:16

Updated : 2026-10-25 23:10


NVD link : CVE-2026-48712

Mitre link : CVE-2026-48712

CVE.ORG link : CVE-2026-48712


JSON object : View

Products Affected

protobufjs_project

  • protobufjs
CWE
CWE-674

Uncontrolled Recursion