CVE-2026-41242

protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, 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, 7.5.5, and 6.11.6 patch the issue.
References
Link Resource
https://access.redhat.com/errata/RHSA-2026:21338
https://access.redhat.com/errata/RHSA-2026:24977
https://access.redhat.com/errata/RHSA-2026:26234
https://access.redhat.com/errata/RHSA-2026:37275
https://access.redhat.com/errata/RHSA-2026:62260
https://access.redhat.com/security/cve/CVE-2026-41242
https://bugzilla.redhat.com/show_bug.cgi?id=2459442
https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf
https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75 Patch
https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956 Patch
https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5 Product Release Notes
https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1 Product Release Notes
https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg Exploit Vendor Advisory
https://github.com/protobufjs/protobuf.js/tree/v6.11.6
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json
https://access.redhat.com/errata/RHSA-2026:21338
https://access.redhat.com/errata/RHSA-2026:24977
https://access.redhat.com/errata/RHSA-2026:26234
https://access.redhat.com/errata/RHSA-2026:37275
https://access.redhat.com/errata/RHSA-2026:62260
https://access.redhat.com/security/cve/CVE-2026-41242
https://bugzilla.redhat.com/show_bug.cgi?id=2459442
https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs:8.0.0:*:*:*:*:node.js:*:*

History

03 Nov 2026, 17:18

Type Values Removed Values Added
References
  • () https://github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf -
  • () https://github.com/protobufjs/protobuf.js/tree/v6.11.6 -
Summary (en) 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. (en) protobufjs compiles protobuf definitions into JavaScript (JS) functions. In versions prior to 8.0.1, 7.5.5, and 6.11.6, 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, 7.5.5, and 6.11.6 patch the issue.

02 Sep 2026, 13:17

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:62260 -

10 Jul 2026, 12:16

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:37275 -

30 Jun 2026, 03:19

Type Values Removed Values Added
References
  • () https://access.redhat.com/errata/RHSA-2026:21338 -
  • () https://access.redhat.com/errata/RHSA-2026:24977 -
  • () https://access.redhat.com/errata/RHSA-2026:26234 -
  • () https://access.redhat.com/security/cve/CVE-2026-41242 -
  • () https://bugzilla.redhat.com/show_bug.cgi?id=2459442 -
  • () https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json -

23 Apr 2026, 15:26

Type Values Removed Values Added
First Time Protobufjs Project
Protobufjs Project protobufjs
CPE cpe:2.3:a:protobufjs_project:protobufjs:*:*:*:*:*:node.js:*:*
cpe:2.3:a:protobufjs_project:protobufjs:8.0.0:*:*:*:*:node.js:*:*
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8
References () https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75 - () https://github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75 - Patch
References () https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956 - () https://github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956 - Patch
References () https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5 - () https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5 - Product, Release Notes
References () https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1 - () https://github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1 - Product, Release Notes
References () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg - () https://github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg - Exploit, Vendor Advisory

18 Apr 2026, 17:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-18 17:16

Updated : 2026-11-03 17:18


NVD link : CVE-2026-41242

Mitre link : CVE-2026-41242

CVE.ORG link : CVE-2026-41242


JSON object : View

Products Affected

protobufjs_project

  • protobufjs
CWE
CWE-94

Improper Control of Generation of Code ('Code Injection')