CVE-2026-45740

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.8 and 8.2.0, protobufjs could recurse without a depth limit while expanding nested JSON descriptors through Root.fromJSON() and Namespace.addJSON(). A crafted JSON descriptor with deeply nested namespace definitions could cause the JavaScript call stack to be exhausted during descriptor loading. This vulnerability is fixed in 7.5.8 and 8.2.0.
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

11 Nov 2026, 20:10

Type Values Removed Values Added
Summary
  • (es) protobufjs compila definiciones de protobuf en funciones de JavaScript (JS). Antes de 7.5.8 y 8.2.0, protobufjs podía recursar sin un límite de profundidad mientras expandía descriptores JSON anidados a través de Root.fromJSON() y Namespace.addJSON(). Un descriptor JSON manipulado con definiciones de espacio de nombres profundamente anidadas podría causar el agotamiento de la pila de llamadas de JavaScript durante la carga del descriptor. Esta vulnerabilidad está corregida en 7.5.8 y 8.2.0.

13 May 2026, 20:50

Type Values Removed Values Added
First Time Protobufjs Project
Protobufjs Project protobufjs
CPE cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
References () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6 - () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-jggg-4jg4-v7c6 - Mitigation, Vendor Advisory

13 May 2026, 16:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-05-13 16:17

Updated : 2026-11-11 20:10


NVD link : CVE-2026-45740

Mitre link : CVE-2026-45740

CVE.ORG link : CVE-2026-45740


JSON object : View

Products Affected

protobufjs_project

  • protobufjs
CWE
CWE-674

Uncontrolled Recursion