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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-66ff-xgx4-vchm | protobuf.js: Code injection through bytes field defaults in generated toObject code |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Wed, 13 May 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Protobufjs Project
Protobufjs Project protobufjs |
|
| CPEs | cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:* | |
| Vendors & Products |
Protobufjs Project
Protobufjs Project protobufjs |
|
| Metrics |
cvssV3_1
|
Wed, 13 May 2026 15:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | protobufjs: Code injection through bytes field defaults in generated toObject code | |
| Weaknesses | CWE-94 | |
| References |
| |
| Metrics |
cvssV4_0
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-05-13T14:43:33.342Z
Reserved: 2026-05-05T17:39:31.112Z
Link: CVE-2026-44293
No data.
Status : Analyzed
Published: 2026-05-13T16:16:56.253
Modified: 2026-05-13T20:56:57.980
Link: CVE-2026-44293
No data.
OpenCVE Enrichment
Updated: 2026-05-13T17:45:25Z
Weaknesses
Github GHSA