CVE-2026-44294

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

State
Published
Severity
5.3 Medium
Published
May 13, 2026
Updated
May 13, 2026
Reserved
May 5, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.15.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:LGitHub_M

Weaknesses

  • CWE-20 Improper Input Validation

Affected Products

ProductVersions
protobuf.jsprotobufjs
  • < 7.5.6Affected
  • >= 8.0.0, < 8.0.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.