Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-41242
Published:April 18, 2026
Updated:April 23, 2026
protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1 and 7.5.5, attackers can inject arbitrary code in the "type" fields of protobuf definitions, which will then execute during object decoding using that definition. Versions 8.0.1 and 7.5.5 patch the issue.
Affected Packages
https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v7.0.0 <protobufjs-v7.5.5
Fix Suggestion:
Update to version protobufjs-v7.5.5
https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) =protobufjs-v8.0.0 <protobufjs-v8.0.1
Fix Suggestion:
Update to version protobufjs-v8.0.1
protobufjs (NPM):
Affected version(s) >=8.0.0 <8.0.1
Fix Suggestion:
Update to version 8.0.1
protobufjs (NPM):
Affected version(s) >=0.0.0 <7.5.5
Fix Suggestion:
Update to version 7.5.5
Do you need more information?
Contact Us
CVSS v4
Base Score:
9.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
HIGH
Subsequent System Availability
HIGH
CVSS v3
Base Score:
9.9
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.05