Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-44294 EUVD-2026-30032GHSA-2pr8-phx7-x9h3

protobufjs: Denial of service from crafted field names in generated code

Published May 13, 2026 · Updated May 13, 2026 · Assigned by GitHub_M

Description

protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript property accessors from schema-controlled field and oneof names. Certain control characters in field names were not escaped before being embedded into generated function bodies. A crafted schema or JSON descriptor could therefore cause generated encode, decode, verify, or conversion functions to fail during compilation. This vulnerability is fixed in 7.5.6 and 8.0.2.

Affected products

VendorProductAffectedFixed
protobufjs protobuf.js < 7.5.6, >= 8.0.0, < 8.0.2 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling kubeflow-centraldashboard 1.10.0-r21 —
Wolfi rolling pulumi-language-nodejs 3.237.0-r1 —
Wolfi rolling renovate 43.170.15-r2 —
Wolfi rolling vitess-23 23.0.4-r5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm protobufjs < 7.5.6 7.5.6 GHSA-2pr8-phx7-x9h3
npm protobufjs >= 8.0.0, < 8.0.2 8.0.2 GHSA-2pr8-phx7-x9h3

References