CVE-2026-44288
Description
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.
How to fix
- protobufjs_project protobufjs7.5.6, 8.0.2 or later
- protobufjs7.5.6, 8.0.2 or later
- @protobufjs/utf81.1.1 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| protobufjs_project protobufjs | v < 7.5.6, 8.0.0 ≤ v < 8.0.2 | 7.5.6, 8.0.2 |
| protobufjsnpm | v < 7.5.6, 8.0.0 ≤ v < 8.0.2 | 7.5.6, 8.0.2 |
| @protobufjs/utf8npm | v < 1.1.1 | 1.1.1 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.