CVE-2026-44294protobufjs: 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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| protobufjs | protobuf.js | < 7.5.6, >= 8.0.0, < 8.0.2 | |
| protobufjs project | protobufjs | < 7.5.6 |
References and patches
- https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-2pr8-phx7-x9h3 MitigationVendor Advisory
CPE matches (NVD) (2)
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*< 7.5.6cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*≥ 8.0.0 < 8.0.2