Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. protobufjs
  4. ›
  5. CVE-2026-44294

CVE-2026-44294: protobuf.js: Denial of service from crafted field names in generated code

May 12, 2026 (updated May 14, 2026)

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.

References

  • github.com/advisories/GHSA-2pr8-phx7-x9h3
  • github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.6
  • github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.2
  • github.com/protobufjs/protobuf.js/security/advisories/GHSA-2pr8-phx7-x9h3
  • nvd.nist.gov/vuln/detail/CVE-2026-44294

Code Behaviors & Features

Detect and mitigate CVE-2026-44294 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 7.5.6, all versions starting from 8.0.0 before 8.0.2

Fixed versions

  • 7.5.6
  • 8.0.2

Solution

Upgrade to versions 7.5.6, 8.0.2 or above.

Impact 5.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

Learn more about CVSS

Weakness

  • CWE-20: Improper Input Validation

Source file

npm/protobufjs/CVE-2026-44294.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:22:46 +0000.