Description
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
- www.cve.org/CVERecord ↗
- nvd.nist.gov/vuln/detail/CVE-2026-41242 ↗
- access.redhat.com/errata/RHSA-2026:21338 ↗
- access.redhat.com/errata/RHSA-2026:24977 ↗
- access.redhat.com/errata/RHSA-2026:26234 ↗
- access.redhat.com/errata/RHSA-2026:37275 ↗
- access.redhat.com/errata/RHSA-2026:62260 ↗
- access.redhat.com/security/cve/CVE-2026-41242 ↗
- bugzilla.redhat.com/show_bug.cgi ↗
- github.com/protobufjs/protobuf.js/commit/086916b4a52c9f73ce88956edbb38fc902e54bbf ↗
- github.com/protobufjs/protobuf.js/commit/535df444ac060243722ac5d672db205e5c531d75 ↗
- github.com/protobufjs/protobuf.js/commit/ff7b2afef8754837cc6dc64c864cd111ab477956 ↗
- github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v7.5.5 ↗
- github.com/protobufjs/protobuf.js/releases/tag/protobufjs-v8.0.1 ↗
- github.com/protobufjs/protobuf.js/security/advisories/GHSA-xq3m-2v4x-88gg ↗
- github.com/protobufjs/protobuf.js/tree/v6.11.6 ↗
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-41242.json ↗
Related CVEs
← CVE Index: search every CVE from the last 30 days
This product uses the NVD API but is not endorsed or certified by the NVD. CVSS scores do not establish exploitation.