p PatchFirst

CVE-2026-44288

CVE-2026-44288 · protobufjs: Overlong UTF-8 decoding

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

CVSS 5.3 · Medium · EPSS 0.3% · Fix available

Published
Updated

Stack: node

Affected products and versions

  • protobuf.js

    Versions
    • < 7.5.6: Affected
    • >= 8.0.0, < 8.0.2: Affected

    No fix published

  • protobufjs npm

    Affected ranges
    • SEMVER: < 7.5.6

    Update to 7.5.6

  • protobufjs npm

    Affected ranges
    • SEMVER: ≥ 8.0.0, < 8.0.2

    Update to 8.0.2

  • @protobufjs/utf8 npm

    Affected ranges
    • SEMVER: < 1.1.1

    Update to 1.1.1

Original sources

Check your server →