What’s Vulnerable › Vulnerabilities

CVE-2026-44294: protobufjs: Denial of service from crafted field names in generated code

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

How to fix

Upgrade to a fixed version: protobufjs 7.5.6, 8.0.2. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-44294 or the next vulnerability affects your stack