CVE-2026-44293
Published:May 13, 2026
Updated:May 16, 2026
protobufjs compiles protobuf definitions into JavaScript (JS) functions. Prior to 7.5.6 and 8.0.2, protobufjs generated JavaScript for toObject conversion could include an unsafe expression derived from a schema-controlled bytes field default value. A crafted descriptor with a non-string default value for a bytes field could cause attacker-controlled code to be emitted into the generated conversion function. This vulnerability is fixed in 7.5.6 and 8.0.2.
Affected Packages
protobufjs (CDN_JS):
Affected version(s) =8.0.0-experimental <8.0.2Fix Suggestion:
Update to version 8.0.2protobufjs (CDN_JS):
Affected version(s) >=6.10.3 <7.5.6Fix Suggestion:
Update to version 7.5.6https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v7.0.0 <protobufjs-v7.5.6Fix Suggestion:
Update to version protobufjs-v7.5.6https://github.com/protobufjs/protobuf.js.git (GITHUB):
Affected version(s) >=protobufjs-v8.0.0 <protobufjs-v8.0.2Fix Suggestion:
Update to version protobufjs-v8.0.2protobufjs (NPM):
Affected version(s) >=8.0.0 <8.0.2Fix Suggestion:
Update to version 8.0.2protobufjs (NPM):
Affected version(s) >=0.0.0 <7.5.6Fix Suggestion:
Update to version 7.5.6protobufjs (NPM):
Affected version(s) >=8.0.0 <8.0.2Fix Suggestion:
Update to version 8.0.2Related Resources (4)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Control of Generation of Code ('Code Injection')
EPSS
Base Score:
0.05