Vulnerabilities/

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

Severity:
Medium

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:

References

Related Issues

Tags:
npm
@protobufjs/utf8
Anything's wrong? Let us know Last updated on May 14, 2026