---
id: CVE-2026-44293
title: protobufjs compiles protobuf definitions into JavaScript (JS) functions
summary: >-
  protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior
  to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion
  could include an unsafe expression derived from a schema-controlled bytes
  field de…
severity: high
cvss: 8.8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'
cwe:
  - CWE-94
vendor: protobufjs_project
product: protobufjs
affected:
  - protobufjs < 7.5.6
  - 'protobufjs >= 8.0.0, < 8.0.2'
patched:
  - protobufjs 8.0.2
published: '2026-05-13'
updated: '2026-09-09'
sourceUpdated: '2026-09-09T13:20:07.537'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-44293'
references:
  - url: >-
      https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-66ff-xgx4-vchm
    label: security-advisories@github.com
  - url: 'https://access.redhat.com/errata/RHSA-2026:26090'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:26234'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:29795'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34160'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:34374'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:37186'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:37385'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:37628'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:54555'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:57487'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/errata/RHSA-2026:60520'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://access.redhat.com/security/cve/CVE-2026-44293'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2477104'
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-44293.json
    label: 0b0ca135-0b70-47e7-9f44-1890c2a1c46c
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: total
  timestamp: '2026-05-14T15:59:34.901278Z'
scores:
  nvd: 8.8
  cna: 7.7
epss: 0.00407
epssPercentile: 0.34771
ingestedAt: '2026-07-01T15:50:58.837Z'
---

## Overview

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.

## Affected

- `protobufjs < 7.5.6`
- `protobufjs >= 8.0.0, < 8.0.2`

## Remediation

Upgrade past the affected range:

- `protobufjs 8.0.2`
