CVE-2026-44290
JSON

7.5high

protobufjs: Process-wide denial of service through unsafe option paths

Severity
7.5high CVSS:3.1 by GitHub_M
Exploit likelihood
0.37% (higher than 33% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-jvwf-75h9-cwgg

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs allowed certain schema option paths to traverse through inherited object properties while applying options. A crafted protobuf schema or JSON descriptor could cause option handling to write to properties on global JavaScript constructors, corrupting process-wide built-in functionality. This vulnerability is fixed in 7.5.6 and 8.0.2.

Affected

Product or packageVersionsReported by
protobufjs protobuf.js< 7.5.6, >= 8.0.0, < 8.0.2CVE List
protobufjs (npm)before 7.5.6, from 8.0.0 before 8.0.2GitHub Advisory Database
protobufjs_project protobufjsbefore 7.5.6, from 8.0.0 before 8.0.2NVD

All scores

GitHub_M7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs allowed certain schema option paths to traverse through inherited object properties while applying options. A crafted protobuf schema or JSON descriptor could cause option handling to write to properties on global JavaScript constructors, corrupting process-wide built-in functionality. This vulnerability is fixed in 7.5.6 and 8.0.2.

GitHub Advisory Database

Summary

protobufjs allowed certain schema option paths to traverse through inherited object properties while applying options. A crafted protobuf schema or JSON descriptor could cause option handling to write to properties on global JavaScript constructors, corrupting process-wide built-in functionality.

Impact

An attacker who can provide or influence protobuf schemas or JSON descriptors may be able to corrupt built-in process state in a way that causes subsequent application code or protobufjs code to fail. This can result in a persistent denial of service for the lifetime of the affected process.

This issue affects applications that parse or load protobuf schemas or descriptors from untrusted sources. Applications that use bundled, generated, or otherwise trusted schemas to decode untrusted protobuf message payloads are not directly affected.

The issue is not known to allow code execution by itself.

Preconditions

  • The application must allow an attacker to control or influence a protobuf schema or JSON descriptor.
  • The application must parse or load that schema through protobufjs reflection APIs such as parse, Root.load, Root.loadSync, or Root.fromJSON.
  • The crafted input must contain option paths that reach unsafe inherited properties during option processing.

Workarounds

Do not parse or load protobuf schemas or JSON descriptors from untrusted sources with affected versions. If untrusted schemas must be accepted, validate or reject option names containing unsafe property path components before loading them, and run schema processing in an isolated process.

NVD (es)

protobufjs compila definiciones de protobuf en funciones de JavaScript (JS). Antes de 7.5.6 y 8.0.2, protobufjs permitía que ciertas rutas de opciones de esquema atravesaran propiedades de objetos heredadas mientras aplicaba opciones. Un esquema de protobuf o descriptor JSON manipulado podría causar que el manejo de opciones escribiera en propiedades de constructores globales de JavaScript, corrompiendo la funcionalidad incorporada a nivel de proceso. Esta vulnerabilidad está corregida en 7.5.6 y 8.0.2.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-44290 changed 2026-05-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-jvwf-75h9-cwgg changed 2026-09-10CC-BY-4.0
NVDCVE-2026-44290 changed 2026-11-11Public domain