Skip to main content
← All vulnerabilities
CVE-2026-44294GHSA-2PR8-PHX7-X9H3

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.6, 8.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • protobufjs protobuf.js

    fixed in 7.5.6; From 8.0.0 · fixed in 8.0.2

  • protobufjsnpm

    fixed in 7.5.6

  • protobufjsnpm

    From 8.0.0 · fixed in 8.0.2

References 1

GitHub · protobufjs/protobuf.js