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.
References (1)
Core 1
Core References
X_Refsource_Confirm x_refsource_confirm
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-q6x5-8v7m-xcrf
Scores
CVSS v3
5.3
EPSS
0.0001
EPSS Percentile
2.2%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-176
Status
published
Products (6)
npm/protobufjs
0 - 7.5.6npm
npm/protobufjs
8.0.0 - 8.0.2npm
protobufjs/protobuf.js
< 7.5.6
protobufjs/protobuf.js
>= 8.0.0, < 8.0.2
protobufjs/utf8
0 - 1.1.1npm
protobufjs_project/protobufjs
< 7.5.6
Published
May 13, 2026
Tracked Since
May 13, 2026