Security mailing lists by PureSourceCode

CVE-2026-44293

HIGH 7.7CVSS 4.0

protobuf.js: Code injection through bytes field defaults in generated toObject code

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.

Published
13 May 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-94
Also known as
GHSA-66ff-xgx4-vchm
Sources
NVDJSONOSV GHSA-66ff-xgx4-vchmJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 HIGH 7.7 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
NVD 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD protobufjs_project protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
< 7.5.6 7.5.6
NVD protobufjs_project protobufjs
cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
>= 8.0.0, < 8.0.2 8.0.2
OSV npm protobufjs < 7.5.6 7.5.6
OSV npm protobufjs >= 8.0.0, < 8.0.2 8.0.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 13 May 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 12 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.