Vulnerabilities/

protobufjs has overlong UTF-8 decoding

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 package to the latest compatible version. Followings are version details:

References

Related Issues

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