Vulnerability library
Security checkMay 14, 2026

protobufjs has overlong UTF-8 decoding - @protobufjs/utf8

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpm@protobufjs/utf8

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

protobufjs includes a minimal UTF-8 decoder used in non-Node and fallback decoding paths. The affected decoder accepted overlong UTF-8 byte sequences and decoded them to their canonical characters instead of replacing them.

The issue concerns overlong encodings and code points outside the Unicode range.

Recommendation

Update the @protobufjs/utf8 package to the latest compatible version. Followings are version details:

  • Affected version(s): <= 1.1.0
  • Patched version(s): 1.1.1

References

Could your website be exposed too?

SmartScanner can check your website for protobufjs has overlong UTF-8 decoding - @protobufjs/utf8 and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 14, 2026