Skip to main content
← All vulnerabilities
CVE-2026-44288GHSA-Q6X5-8V7M-XCRF

protobufjs: Overlong UTF-8 decoding

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 7.5.6, 8.0.2, 1.1.1
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 includes a minimal UTF-8 decoder that accepted overlong UTF-8 byte sequences and decoded them to their canonical characters instead of replacing them. An attacker who can provide protobuf binary data decoded through the affected UTF-8 path may be able to bypass application-level checks that inspect raw bytes before protobuf string decoding. For example, bytes that do not contain certain ASCII characters could decode to strings containing those characters. 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

  • @protobufjs/utf8npm

    fixed in 1.1.1

References 1

GitHub · protobufjs/protobuf.js